Problem with plugin

Posted in: Newspaper
Post count: 15

Site: https://przystanekplanszowka.pl/
Newspaper version: 12.7.4
PHP version 8.4

Hello,

I have a problem with displaying pages that contain reviews as well as category pages related to reviews on my WordPress website.
On review posts and review category pages, PHP warnings are displayed instead of the page content. The warnings look like this:

Warning: A non-numeric value encountered in
/home/przysta2/domains/przystanekplanszowka.pl/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_review.php on line 149
Example: https://przystanekplanszowka.pl/category/recenzje/page/2
Additionally, directly inside single articles, the following warnings appear:

Warning: A non-numeric value encountered in
/home/przysta2/domains/przystanekplanszowka.pl/public_html/wp-content/plugins/td-cloud-library/state/single/tdb_state_single.php on line 3739

Warning: A non-numeric value encountered in
/home/przysta2/domains/przystanekplanszowka.pl/public_html/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_review_overall.php on line 312

(The last warning appears twice.)
Example: https://przystanekplanszowka.pl/2019/04/dochodzenie-jeden-morderca-i-sledztwo-w-toku.html
The issue only affects pages that use the review functionality. Other pages work correctly.

Could you please advise what might be causing this issue and how I can fix it?
Is this related to PHP version compatibility or the review module configuration?

Thank you in advance for your help.

Best regards,
Przystanek Planszówka

Post count: 15

I think I’ve found the cause, but I don’t know how to solve it globally. Where reviews used to show half values, like 7.5, an error appears. But such values ​​didn’t cause errors before.

Post count: 35449

Hi,

This warning can appear when debug mode is enabled in your wp-config.php file. Please check if the WP_DEBUG option is set to true. If it is, change it to false and see if the warning disappears.
If the problem persists, please make a full backup of your site and contact us via email at contact@tagdiv.com . When you do, please provide: WP-admin access, FTP or cPanel access. Include the details from this topic. We will investigate the issue as soon as possible.
Based on what you’ve described, it’s possible that the issue is caused by a mismatch between values, one being numeric and another not, which could be causing a sum operation to fail.

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