PHP 8 modules

Posted in: Newspaper
Post count: 497

What are the necessary modules requirements of PHP 8.0 for Newspaper theme…?

Post count: 27744

Hello,

The latest PHP version tested with the theme is 8.0.9 for us it worked without any extra adjustment.

Thank you!

Post count: 25

Good morning,
I just upgraded to PHP 8 and I get in each page on my blog this warnings all time:

50968#0: *28742 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined variable $unique_block_modal_class in /var/www/vhosts/xxxxxxxx.com/httpdocs/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_related_author.php on line 1009PHP message: PHP Warning: Undefined variable $unique_block_modal_class in /var/www/vhosts/xxxxxxxx.com/httpdocs/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_related_author.php on line 1013PHP message: PHP Warning: Undefined variable $unique_block_modal_class in /var/www/vhosts/xxxxxxxx.com/httpdocs/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_related_author.php on line 1017PHP message: PHP Warning: Undefined variable $unique_block_modal_class in /var/www/vhosts/xxxxxxxx.com/httpdocs/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_related_author.php on line 1021PHP message: PHP Warning: Undefined variable $unique_block_modal_class in /var/www/vhosts/xxxxxxxx.com/httpdocs/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_related_author.php on line 1025PHP message: PHP Warning: Undefined variable $unique_block_modal_class in /var/www/vhosts/xxxxxxxx.com/httpdocs/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_related_author.php on line 1189

Could you please fix in your next release? Best regards

Post count: 27744

Hello @serambca,

Please let me know what version theme you have, also, if you have the block single related post in the Single Post Template, please remove it and use the flex block, and set the filter to Single -> Related by category https://www.screencast.com/t/SEmxo13Fo2X

Thank you!

Post count: 25

Hi Anna,

your solution was fixed the main issue.

I only see the following warnings:

FastCGI sent in stderr: “PHP message: PHP Warning: Attempt to read property “comment_type” on null in /var/www/vhosts/xxxxxxxxx.com/httpdocs/wp-includes/comment-template.php on line 1091PHP message: PHP Warning: Attempt to read property “comment_type” on null in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/wp-includes/comment-template.php on line 1105.

How can I solve this warnings?

Thanks you!!!!

Best regards

Post count: 27744

Hello,

Please let me know if you have the PHP 8.1 version, if yes, then there is a problem related to the comments code.
You need to have another php version, like 8.0.13

Thank you!

Post count: 25

Good morning,
I’m using PHP 8.0.19.
I can upgrade to 8.1 if you want.

Best regards,
Sergio

Post count: 27744

Hello Sergio,

Please use version 8.0.13, There should be no problems with this version.

Thank you!

Post count: 25

Hi Anamaria,

OK. I don’t know where is the issue but I continue showing this errors (I’m using Ngnix for your information).

52905#0: *7335 FastCGI sent in stderr: “PHP message: PHP Warning: Attempt to read property “comment_type” on null in /var/www/vhosts/xxxxxxxxx.com/httpdocs/wp-includes/comment-template.php on line 1091PHP message: PHP Warning: Attempt to read property “comment_type” on null in /var/www/vhosts/xxxxxxxxx.com/httpdocs/wp-includes/comment-template.php on line 1105PHP message: PHP Warning: Attempt to read property “comment_ID” on null in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/wp-includes/comment-template.php on line 1105PHP message: PHP Warning: Attempt to read property “comment_type” on null in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/wp-includes/comment-template.php on line 1091PHP message: PHP Warning: Attempt to read property “comment_type” on null in /var/www/vhosts/xxxxxxxxxxx.com/httpdocs/wp-includes/comment-template.php on line 1105PHP message: PHP Warning: Attempt to read property “comment_ID” on null in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/wp-includes/comment-template.php on line 1105″ while reading response header from upstream

Is it possible fix manually adding any specific code in comment-template.php?

Best regardas,

Post count: 27744

Hello,

This file is from WordPress, all theme files are in wp-content.
I have encountered similar cases before, and the problem was solved by using version 7.4 of PHP.

Thank you!

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