Attempt to read [property]

#380065
  • Resolved Hamed Azimi
    Rank Math free

    Hello,

    There are over 1500 lines of the server error log within 2 days, related to Rank Math, though they are just a few different logs that are being repeated over and over:

    2022-04-20 12:28:08.154339 [NOTICE] [2013575] [T0] [141.101.105.39:24536:HTTP2-3#APVH_www.site.com:443] [STDERR] PHP Warning: Attempt to read property "labels" on bool in /home/shaman/domains/site.com/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 421

    2022-04-20 12:28:08.155639 [NOTICE] [2013575] [T0] [141.101.105.39:24536:HTTP2-3#APVH_www.site.com:443] [STDERR] PHP Warning: Attempt to read property "singular_name" on null in /home/shaman/domains/site.com/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 421

    2022-04-20 12:28:08.156922 [NOTICE] [2013575] [T0] [141.101.105.39:24536:HTTP2-3#APVH_www.site.com:443] [STDERR] PHP Warning: Attempt to read property "name" on bool in /home/shaman/domains/site.com/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 422

    2022-04-20 12:28:08.158205 [NOTICE] [2013575] [T0] [141.101.105.39:24536:HTTP2-3#APVH_www.site.com:443] [STDERR] PHP Warning: Attempt to read property "labels" on bool in /home/shaman/domains/site.com/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 423

    2022-04-20 12:28:08.159505 [NOTICE] [2013575] [T0] [141.101.105.39:24536:HTTP2-3#APVH_www.site.com:443] [STDERR] PHP Warning: Attempt to read property "singular_name" on null in /home/shaman/domains/site.com/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 423

    2022-04-20 12:28:08.160798 [NOTICE] [2013575] [T0] [141.101.105.39:24536:HTTP2-3#APVH_www.site.com:443] [STDERR] PHP Warning: Attempt to read property "rest_base" on bool in /home/shaman/domains/site.com/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 424

    2022-04-20 12:28:08.162094 [NOTICE] [2013575] [T0] [141.101.105.39:24536:HTTP2-3#APVH_www.site.com:443] [STDERR] PHP Warning: Attempt to read property "name" on bool in /home/shaman/domains/site.com/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 424

    Hopefully, you have a workaround/hotfix to avoid this.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thank you for contacting the support and we regret the inconvenience caused.

    Those notices seem to be related to the taxonomies on your website and it seems that our plugin is not able to retrieve at least one of the taxonomies created.

    ​​​​​​​Please check if you have a taxonomy set as primary for any post type that no longer exists and is causing the issue.

    Let us know how that goes.

    Thank you.

    Yes, there were 2 custom taxonomies for a CPT, which no longer exist as I’ve changed them to Custom Meta Fields.

    But doesn’t Rank Math have an automated process to recognize removed taxonomies to avoid these logs?

    If not, what’s the best solution in this case?

    Thanks

    Hello,

    I tried replicating on my end but I wasn’t able to generate the same error message.

    With that said, allow me to share this with our dev team.

    Please do not hesitate to let us know if you need our assistance with anything else.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Attempt to read [property]’ is closed to new replies.