Error

Posted in: Newspaper
Post count: 54

Warning: Illegal string offset ‘limit’ in /var/www/html/mydomain.com.br/web/wp-content/themes/Newspaper/includes/shortcodes/td_block_big_grid_2.php on line 20

Hello … I have this problem when sliding elements to my project this error occurs. What can it be?

Post count: 23312

Hello fgmotta,

I recommend you to make a new clean install from scratch via FTP way because this is the surest theme method in this case. This error might appear to a wrong theme installing and that’s why you can bring this issue. Make a full backup to your database and try to reinstall the theme, clear all the caches, purge CDN files if you are using the CDN system and check the results.

Thanks for your understitching!

Post count: 43

Actually, it’s a bug in the code for all of the Big Grid classes where the ‘limit’ in $atts array is not being set.

line 20: $atts[‘limit’] = self::POST_LIMIT;

The code should be using an isset function to check if the ‘limit’ is set and if not then set it to 0.

Workaround: In the settings for your Big Grid, enter 0 for the value “Offset posts” and the warning will go away.

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