Error Just before Sidebar Ad – After this new update

Posted in: Newspaper
Post count: 19

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.

Post count: 19

Please respond.

Post count: 20685

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

Post count: 19

Hello,

If I move tagdiv ad widget from top to bottom the error also moves. Then it clearly shows it is coming from Theme files.

Kindly provide the solution ASAP.

Post count: 20685

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.

Post count: 19

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

Post count: 19

Since this error is continuously coming, I’m deactivating this ad usage from your theme.

Post count: 20685

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

Post count: 19

Hi Simion,

Details sent to contact@tagdiv.com .

Please check and update.

Post count: 19

Sent license details as well.

Post count: 7909

Replied via email!

Post count: 19

But the issue is not fixed yet.

Post count: 24

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.

Post count: 23312

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!

Post count: 24

Adding is_string($att_value) && to the td_css_res_compiler.php file seemed to do the trick – thank you!

Viewing 15 posts - 1 through 15 (of 15 total)
You must be logged in to reply to this topic.