Greetings. the provider is asking to change from php 7.4 to php 8.1 when I make the change the back end continues to work perfectly but the front end does not. gives an error. the same thing happened to others. I have deactivated all the plug in and I have only activated the ones of tagdiv without results. when editing a template I get this error
Error at zones: 6(models) : 5(dom). The model does not match the content Current state has involved an issue.
Hi,
I understand. On our testes the php v8.1 is working correctly, but there are users that reports problems with this version, so we believe that it can be something specific that we can not recreate, so if you can do a backup for your website and contact us via email at contact@tagdiv.com and provide wp-admin access and cPanel we’ll inspect the situation and our developers will fix the php problem.
Thank you!
This is pressable.com’s answer. I use this template with these plugins for 14 different client pages and 4 different servers. they all use php 8.1 and I have had no problems
————————————————————————————–
I found that the following plugins are causing the issue:
td-composer
td-standard-pack
Error logs shows:
PHP Fatal error: Uncaught TypeError: Unsupported operand types: string / float in /srv/htdocs/wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_flex_block_1.php:439
Hi Calin
I found PHP Warning: A non-numeric value encountered in /srv/htdocs/wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_flex_block_1.php on line 439
That’s the error appearing millions of times in the log today. Looks like its an issue with the td-composer plugin and Newspaper theme.
I delete this line $res_ctx->load_settings_raw( ‘review_size’, 10 + $review_size/0.5 . ‘px’ ); anbd now all working perfect whit php 8.1
We using Prebuilt Website Installed:
Kattmar
thanks
Hi,
That seems to be related to flex block 1, and mainly this field from the block settings where the size for the review stars is set https://i.imgur.com/j0KWGZU.png
Maybe there was an invalid value set there somehow, in the homepage or where flex block 1 was used throughout the website. Normally there is a numeric value there, if something else is entered there it could be a problem. Perhaps that is the case here.
If you want we will take a look at this, we can check the website if you can provide access to it via email, and to a file manager so we can add the line of code again. Let us know.
Thank you!
Update: I found that for some reason the Flex Block 1 default settings for the Review and Author settings were “undefined” and when I set them, it didn’t seem to save properly, so I deleted and adding again, and that seems to fix, so maybe when originally created it didn’t save something. Maybe this will be helpful in diagnosing the issue for others.