This line is your issue:
$log_string += "Dealing with " . count($atts) . " tab(s)\n";
It should be:
$log_string .= "Dealing with " . count($atts) . " tab(s)\n";
It looks like you confused the javascript and PHP concatenation operator. Don’t worry, it’s something I’ve done numerous times! Ugh!
Edit: Actually, looks like you’ve made this mistake on other lines as well.
Related Posts:
- PHP Deprecated: Non-static method should not be called statically
- Adding Custom Fields for Img in Posts
- How To Ignore a Filter On Applying Filter the Content In a Function
- Calling function from within functions.php returns unwanted value
- shortcode doesn’t work
- Can’t get custom posts of taxonomy to show
- Shortcode to generate and save password in a file
- get shortcode value
- Storing Options in a Shortcode
- How to remove html code in excel downloads using phpspreadsheet with wordpress plugins shortcode
- How to put JQuery/Ajax inside shortcode?
- WordPress Shortcode to get URL Parameters $_GET[‘name’] redirects for no reason at all
- WordPress function not being called from jQuery method
- Nested shortcode functions accessing variable
- How to Create a shortcode to this php function
- Redirect to another page using contact form 7? [closed]
- What is @Action in WordPress?
- Custom shortcode for displaying user based on a role parameter
- Return multiple values in a shortcode attribute
- Is there a way to convert shortcodes to html content?
- Shortcode not working – quotes seems strange
- Get all the URLs of the pages that uses a specific shortcode
- Add the_post_thumbnail_url to a shortcode in function.php
- Echo out element to another page.
- Adding a Tag Parameter / Filter to My Shortcode
- Creating New Dynamic Fields for a Certificate (Number Generation, Code Referencing, and more)
- How to get current cart values using WC_Shortcodes?
- get_post_meta shortcode returns empty field
- How do I use a plugin’s shortcode attribute value in another function?
- Why does my custom plugin only function correctly once per page?
- Hide content for specific users with id
- Why is my shortcode not working?
- Get Shortcode output to database for static post_content
- Query Shortcode from a multisite to appear on a different site?
- Find all strings between an enclosing shortcode
- Posting code inside the post instead of in the template file using shortcode
- How to Set Limit with WordPress Get Bookmarks Shortcode
- Creating Features List in WordPress Post
- Integrate Razorpay quick payments plugin with contact form7 plugin
- cURL External API request displays content above other content on page
- Subtract Using GravityWP Count Plugin
- How to get URL param for pagination in shortcode?
- qTranslate‑X is not translating all shortcodes
- When unit testing a plugin, does the plugin need to be in the wp-content/plugins directory of the WordPress tests install?
- how to include other plugins css files in a shortcode?
- Determining where fopen() is writing files when used from WordPress AJAX call [closed]
- How Restrict access to admin dashboard by specific static ip?
- wp_specialchars and wp_specialchars_decode in a shortcode plugin
- Overide a function that is inside a plugin
- How to get images from EDD post?
- How to install and activate a plugin via an external PHP script
- How to remove xmlns on language_attributes()?
- Confused about shortcode and settings values
- Running jquery script after shortcode [closed]
- Add keywords meta to index.php page
- Download any file after submitting a form [closed]
- Pulling data from custom plugin settings using PHP shortcode and Javascript
- Redirecting a buddyboss profile tab to a different tab if not subscribed to a specific membership
- Access WordPress data from external PHP application.
- Unable to add TAB character to post?
- How can integrate zend module with wordpress admin dashbord [closed]
- Setup wp_schedule_event within a custom plugin
- WHy custom plugin slows down the loading of the pages?
- Adding media upload button to User Profile page (following a tutorial)
- Flipping Book PHP Code? Any experience?
- Pass user role to javascript code inside body
- WordPress Stock Update Programatically
- UTF-32be error WordPress
- Getting a ressource ID, from a WC_Order_Item_Product/Order
- Customize Menu | Styling LESS/SCSS code formats
- same user role or copy the user role to be same as the other role
- Social share buttons text shows up on post excerpts
- grab or load text on demand
- How to displaying Custom image, text and default image logo from Redux Framework option panel
- Plugin Admin panel checkbox unchecked after submit
- Getting URL GET parameter with Code snippets and storing it in database?
- save_post_product action not firing
- How to get the custom field value using SQL query
- WordPress fatal error from php protocol codes
- Possible way of having multiple Gutenberg instances for a page?
- Changing wordpress/woocommerce notices default message to other languages (text)
- How to pass multiple custom fields as shortcode’s parameters
- I can’t view the orders on the woocomerce dashboard with the brainblocks plugin
- Run a Change Role Cron Job on WordPress via cPanel
- How to display variables from plugin?
- How to make the first letter of a post title uppercase, in a plugin?
- Get shortcode attribute for AJAX call
- How to change the product short description for each product with PHP?
- I want add repository theme folder
- ACF Repeater Field Question [closed]
- How do I convince this button to do something when it is clicked?
- Allow user to input shortcode into wordpress widget
- WordPress function to add text
- TheCartPress plugin – Make every item in store unique
- Doing action based on input from options menu
- Insert dynamic content into posts
- My wordpress site wont load, it gives header error warnings
- Can anyone see a syntax error in this? [closed]
- Shortcode returning specific content of a post
- plugin doesn’t retrieve data from database