Warning: Illegal string offset

Posted in: Newspaper
Post count: 10

Hey,

I am using the newest version of newspaper on my testsite. When I want to add youtube video widget with Visual Composer it does not work and I get errors: https://carl.resource-packs.de/minecraft-texture-packs/

Post count: 10

Update:

Also on the social media widget in the sidebar: https://carl.resource-packs.de/

Post count: 22421

Hello,

This could be a plugin conflict so please disable all plugins except visual composer, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.

Thank you!

Post count: 10

Hey,

all that steps were not fixing my issue. Still alive.

What to do next?

Post count: 10

On other site also same error: Warning: Illegal string offset ‘td_post_template’ in /www/htdocs/w011dab3/minecraft/minecraft-bauideen.de/wp-content/themes/Newspaper/includes/wp_booster/td_single_template_vars.php on line 67

Source: https://minecraft-bauideen.de/einfacher-schneller-ofen/

Post count: 22421

Hello,

Are you using php 7.1 by any chance? If so please only use php 7.90 as we have not tested 7.1 yet.

Thanks.

Post count: 10

I used 7.1. My hoster provides 7.1 and 7.0. Error is with 7.1 AND 7.0.

PHP 5.6 would fix it, but that is not the way to go.

Post count: 22421

Hi,
We added compatibility with php 7.0 so you should not get any errors. Please provide the errors you are getting with php 7.0 and mention where you get the errors.
Thank you!

Post count: 10

I updated to newst version Newspaper, but the errors still occurs:

Warning: Illegal string offset ‘test_time’ in /www/htdocs/w011dab3/minecraft/carl.resource-packs.de/wp-content/themes/Newspaper/includes/wp_booster/td_remote_http.php on line 93

Warning: Illegal string offset ‘test_status’ in /www/htdocs/w011dab3/minecraft/carl.resource-packs.de/wp-content/themes/Newspaper/includes/wp_booster/td_remote_http.php on line 95

Post count: 22421

Hello,

As I can see from your site, you use a very old version of our theme: https://www.screencast.com/t/07rRMxVcw
Php 7.0 compatibility was only added in newspaper 7.6. Please update your theme by using this guide:
https://forum.tagdiv.com/how-to-update-the-theme-2/
If you use newspaper 6, please use php version 5.x

Thank you!

Post count: 10

Hey,

I am testing right now a testpage (https://carl.resource-packs.de) – this is the page where the error still occurs (with newest version of the theme).

Post count: 10

Looks like the social media widget has that problems after some hours (maybe expired internal cache of social counter?).

Post count: 22421

Hello,
I cannot see any error on that page and I cannot see no social counter either. Are you sure the page you linked is the one you are referring to? I can see a social counter here: https://www.screencast.com/t/Mslh6p3wQT but it seems to work properly and i can see no errors.
Thank you!

Post count: 10

Hi,

here is another example: https://carl.resource-packs.de/minecraft-texture-packs/

Best regards

Post count: 22421

Hello,

Please first contact your host and make sure that php multibyte module is installed and activated – http://php.net/manual/en/mbstring.installation.php
as I can see the video playlist does not work on your site.
As for the php error, this was caused by php version 7.1 and it still sticks on when changing to php 7.0. If you had not used 7.1 this problem would not have been present.
Please contact us on our email address at contact@tagdiv.com and provide a link to your site and wp-admin (login information and admin rights) so we can login and investigate. Please also include a link to this conversation.

Thank you!

Viewing 15 posts - 1 through 15 (of 15 total)
The forum ‘Newspaper’ is closed to new topics and replies.