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
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!
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
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,