• Resolved Tim Reeves

    (@tim-reeves)


    WP 6.5.2 + Rank Math 1.0.216 + PHP 8.0 causing warnings in the PHP-FPM log:

    [11-Apr-2024 10:10:30] WARNING: [pool example.org] child 20448 said into stderr: “PHP message: PHP Warning: Undefined property: WP_Post_Type::$taxonomy in /var/www/vhosts/example.org/httpdocs/wp-content/plugins/seo-by-rank-math/includes/frontend/paper/class-taxonomy.php on line 105”

    [11-Apr-2024 10:10:30] WARNING: [pool example.org] child 20448 said into stderr: “PHP message: PHP Warning: Undefined property: WP_Post_Type::$taxonomy in /var/www/vhosts/example.org/httpdocs/wp-includes/taxonomy.php on line 4646”

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @tim-reeves,

    Thank you for contacting support.

    If you notice the errors also point to a WordPress default file. This is caused by the fact that you are accessing a page where the installation is trying to retrieve the taxonomy of a particular post type and that is not available in the post type object.

    This can usually happen on custom archive pages created with some page builders where that data is not passed to the WP_Query object.

    Don’t hesitate to get in touch if you have any other questions.

    Thread Starter Tim Reeves

    (@tim-reeves)

    I’ve looked at all the different content types listed on the “Titles & Meta” page – there are 33 (!) of them. For better or worse, my client likes BIG plugins, so I’ve got items from Thrive, from Tribe, and God knows what else there. Is there any way I can easily find out which if them is creating an incomplete WP_Post_Type without actually editing the code and having it output debugging info?

    Thanks!

    Plugin Support Rank Math Support

    (@rankmathsupport)

    Hey @tim-reeves,

    Thanks for providing more context. To identify the culprit without diving into the code, you can deactivate each plugin one by one and check if the issue persists. Here’s a handy troubleshooting guide you can follow that doesn’t affect your website users: https://rankmath.com/kb/check-plugin-conflicts/

    This process of elimination should help pinpoint the problematic plugin.

    Looking forward to helping you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Warnings Undefined property’ is closed to new replies.