Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rank Math Plugin and Query Monitor conflicts. #728

Open
ldiazZB opened this issue Feb 20, 2023 · 3 comments
Open

Rank Math Plugin and Query Monitor conflicts. #728

ldiazZB opened this issue Feb 20, 2023 · 3 comments

Comments

@ldiazZB
Copy link

ldiazZB commented Feb 20, 2023

We are trying to implement Rank Math on our site. Our site has around 10,000 pages ( including posts and other taxonomies). We tried to reduce the number of posts on each sitemap, which currently is 200. It generates like 48 sitemaps. When we tried to visit each we got the following error, this error repeats around 10k in our logs files. Causing the site crashing therefore google can’t read this sitemap.

We tried updating WordPress, RankMath, and RankMath Pro, but nothing worked.
Also, we disable all the plugins and the only one that give us conflict was Query Monitor.

Below you can find one of the recent errors. This error caused our site to crash because repeats around 10k in our logs.
We are already communicating with Rank Math, they told us that maybe something with Query Monitor is causing the problem.

[10-Feb-2023 18:03:12 UTC] PHP Warning: Attempt to read property "ID" on null in /var/www/web/wp-includes/link-template.php on line 451

We will appreciate your help on this

These are our site infrastructure:
PHP
Version 8.1.8
SAPI fpm-fcgi
User docker:dialout
max_execution_time 90
memory_limit 512M
upload_max_filesize 500M
post_max_size 500M
display_errors
log_errors 1

Version 6.0.3
Environment Type (Help) local
WP_DEBUG true
WP_DEBUG_DISPLAY false
WP_DEBUG_LOG true
SCRIPT_DEBUG false
WP_CACHE false
CONCATENATE_SCRIPTS undefined
COMPRESS_SCRIPTS undefined
COMPRESS_CSS undefined
WP_ENVIRONMENT_TYPE loca

@crstauf
Copy link
Contributor

crstauf commented Feb 20, 2023

they told us that maybe something with Query Monitor is causing the problem

Behold, the most common response from plugin support ("not our problem"). 👎

@johnbillion
Copy link
Owner

@ldiazZB Are you able to get a full stack trace for that PHP error? I don't think it's coming directly from Query Monitor but I can't be sure.

@ldiazZB
Copy link
Author

ldiazZB commented Feb 22, 2023

@ldiazZB Are you able to get a full stack trace for that PHP error? I don't think it's coming directly from Query Monitor but I can't be sure.

@johnbillion They appear when I have Query Monitor activated and visit /sitemap_index.xml from Rank Math.

@johnbillion johnbillion added the bug label Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants