Hi,
After upgrading the theme to newest version, I am seeing following errors just before Sidebar ad.
Warning: base64_decode() expects parameter 1 to be string, array given in /var/www/html/blog/wp-content/themes/Newspaper/includes/wp_booster/td_css_res_compiler.php on line 54
Screenshot: https://cl.ly/pYlF
Blog URL: https://www.medlife.com/blog/
It was working very well before. But after upgrading the theme to latest version, this error appears.
Please help fixing this issue.
Hi,
Please do not reply in your own topic, this will only delay the response. We answer from oldest to newest, all topics will receive a reply in that order.
Regarding the issue, check in the widgets section to see what element is present in that location in the sidebar. That could be causing the issue.
Also check to see if it is a plugin conflict. Deactivate all the plugins, leave only theme plugins active. Clear all caching and CDN files. Then check the results.
Make sure you have updated all the theme plugins as well, deactivate and remove them. Re-install them from the latest theme package.
Thanks
So the message is displayed only where the ad box widget is displayed, if you remove the ad box widget is the message still present?
We cannot recreate this issue, please mention what kind of code is entering in the ad box. Also try removing it and then place it again. Let us know all these details and more if possible.
Hi,
Yes. Wherever the ad code is present it shows the error.
I just removed the ad code and tested the error is gone. But If I add any text in ad box, the error is coming again.
Example, I entered “Test” in ad box. Now it shows the same error.
Screenshot: https://cl.ly/paYu
Hi,
We cannot recreate this issue on our end, please send us an email at contact@tagdiv.com and provide admin login information. Leave the ad box inactive so we can test. Also include a link to this topic in the email.
Thanks
I’m having this EXACT same issue. Except I’m not using Ad code anywhere in my theme; my sidebar has tagDiv ImageBox in the sidebar.
-
This reply was modified 8 years by
oneprimalscream.
Hello,
Please edit the td_css_res_compiler.php and add the following check here -> https://www.screencast.com/t/8SFVutv695 is_string($att_value) &&
Hope this helps and let us know how it goes!
Thanks for your understanding!
Adding is_string($att_value) && to the td_css_res_compiler.php file seemed to do the trick – thank you!
