non-numeric value encountered… td_block.php on line 353

Posted in: Newspaper
Post count: 14

Hi,

I have a warning.

Warning: A non-numeric value encountered in /srv/users/serverpilot/apps/theredpill/public/wp-content/themes/Newspaper/includes/wp_booster/td_block.php on line 353

Can anyone offer any advice?

Post count: 7909

Hi,

I guess you use php 7 so please try to modify the following parameter – http://prntscr.com/dj933m and see how it goes. The current theme version was not tested and adjusted for php 7.
When block offset is not set, it defaults to empty string. On previous versions of php it was automatically converted to integer 0.
Let us know!

Thanks!

Post count: 14

Hi,

I have a re-occurrence of the non-numeric value problem.

Is this from the update?

Warning: A non-numeric value encountered in /srv/users/serverpilot/apps/theredpill/public/wp-content/themes/Newspaper/includes/wp_booster/td_block.php on line 997

Post count: 23312

Hello adrapper,

Please try to make a new clean install from scratch with the latest version of the theme via FTP, install only the plugins that come bundled with the theme packet, disable the child theme if you are using this and check the results. Until now, we do not have any bad reports in this regard and I suspect your problem happens due to your theme installing. First of all, try to make a full backup to your database to be safe.

Thanks fro your understanding!

Post count: 14

Is it likely that it is the same problem that I had Dec 16, 2016 with the fact that I am using php 7. Last time I had to make a change to line 75.

Do I need to move back to PHP 5?

Thanks.

Post count: 23312

Hello adrapper,

Unfortunately, we did not modify the code in the latest update because we will have to make further investigations in this regard and we will fix it in our near future updates. Until we will fix it, you will have to use the above solution if it worked.

Thanks for your understanding!

Post count: 14

I have fixed this, I have moved back to PHP5

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