Hi team! I’m getting the following errors on my apache error log and I think it’s causing some performance issues thou no errors appears in the front-end
[proxy_fcgi:error] [pid 7187:tid 140583540553472] [client MYSERVERIP:47648] AH01071: Got error ‘PHP message: PHP Warning: Attempt to read property “comment_type” on null in /home/magro/public_html/wp-includes/comment-template.php on line 1089PHP message: PHP Warning: Attempt to read property “comment_type” on null in /home/magro/public_html/wp-includes/comment-template.php on line 1103PHP message: PHP Warning: Attempt to read property “comment_ID” on null in /home/magro/public_html/wp-includes/comment-template.php on line 1103PHP message: PHP Warning: Attempt to read property “comment_type” on null in /home/magro/public_html/wp-includes/comment-template.php on line 1089PHP message: PHP Warning: Attempt to read property “comment_type” on null in /home/magro/public_html/wp-includes/comment-template.php on line 1103PHP message: PHP Warning: Attempt to read property “comment_ID” on null in /home/magro/public_html/wp-includes/comment-template.php on line 1103’
Any help on this? the site is https://mundoagrocba.com.ar
Thanks!
Hello!
Please make sure you have the latest version of the PHP, WordPress, theme and plugins(11.2). Delete and re-install the TagDiv Composer plugin.
Please check if this code is missing from your htaccess file: https://www.screencast.com/t/iN0R93dD3p from our requirements, make sure you have all the requirements as you can see here: https://forum.tagdiv.com/requirements-for-newspaper/
Let me know the results!
Thank you!
Hi caker15, I can see that the PHP Warning it is from some wordpress file. Maybe this has something to do with the comments section from our theme -> https://i.imgur.com/FoGRiwC.png please make a test and remove the comment element from the single post template and see if you keep getting those PHP Warning.
Let us know the results!
Hi caker15, so if the problem has stopped once that the comment section was removed I think that it is because you do not have a login element, this add a JavaScript that it is needed.
For this please edit your website with tagDiv Composer and add the “header login” element and in case that you do not want it to be display, then just hide it -> https://i.imgur.com/wABQISu.png after that you should be able to use the comments section without problems.
Thank you!
