John Blackbourn
Forum Replies Created
-
Thanks! I noticed this too. I’ve fixed it in the upcoming version 4.0 which I’ll release soon.
It seems that something on your site is attempting to send an HTTP API request to a URL of
false, which is obviously not what should be happening.Rather than trying to paper over the problem in QM, finding the root cause would be better. Are you able to do a bit of debugging and try deactivating the plugins on your site one by one to see if you can identify the culprit? In addition, can you check the HTTP headers of the response? Query Monitor should include an HTTP header that details the HTTP API requests made, and hopefully there’s one in there that shows the attempted request to
falsewith a useful stack trace pointing to the culprit.Let me know!
Forum: Plugins
In reply to: [WP Crontrol] Server CronYep WP Crontrol works fine regardless of how your site is running WP-Cron events. It will even tell you if it detects a problem.
Forum: Plugins
In reply to: [User Switching] Modify the page url when switching to an accountYeah User Switching respects the
login_redirectfilter that WordPress itself uses when a user logs in. When you switch to another user in User Switching, this filter controls the location that the URL is redirected to.Depending on your exact requirement, you’ll need to add some logic in there to ensure it runs when you need it to, takes into account the user’s role, etc.
Forum: Plugins
In reply to: [User Switching] Possible REST API authentication issue with switched usersUser Switching replaces your authentication cookie with one that’s valid for your target user so yes, authentication with the REST API works just the same as it does when logging in to the user account manually.
I suspect that endpoint might have an additional authentication requirement, or the REST nonce is being cached or otherwise sent incorrectly, but that depends entirely on your implementation and isn’t related to User Switching.
Best of luck!
I’ll take a look!
Forum: Fixing WordPress
In reply to: No pages displaying after WP updates to 6.9.2@jameswallis @vinceefr Thanks for the report. There appears to be an incompatibility with themes that use a certain theme framework under the hood. Are you able to switch to a different theme to get your site back online?
@tinpeas Can you let us know which theme you’re using please?
Forum: Plugins
In reply to: [WP Crontrol] Action Scheduler MissingYou might need to take a look at the WooCommerce or Action Scheduler docs in that case.
Forum: Plugins
In reply to: [WP Crontrol] Action Scheduler MissingThis screen still exists in the Action Scheduler plugin by the way. You can get to it from Tools -> Scheduled Actions.
Forum: Plugins
In reply to: [WP Crontrol] Action Scheduler MissingYeah I decided to remove it again because a few users got confused and thought that the Action Scheduler screen was part of WP Crontrol.
Forum: Plugins
In reply to: [User Switching] Undefined constant “USER_SWITCHING_OLDUSER_COOKIE”This should be fixed in the latest version.
Forum: Plugins
In reply to: [User Switching] Undefined constant “USER_SWITCHING_OLDUSER_COOKIE”Huh, I didn’t realise old threads on the wordpress.org forums got auto-closed.
Do you only see this issue on the
wp_die()screen? I’ve fixed that case in the development version of User Switching but I’ve yet to release it. I’ll aim to do so shortly.Is the plugin installed into the
wp-content/plugins/google-listings-and-adsdirectory? Or somewhere else?That
$levelsarray just controls the options for filtering which errors get collected and shown, so it won’t contain any actual data by default unless something hooks into theqm/collect/php_error_levelsand adjusts it.Does Query Monitor work ok within the wp-admin area? Is it only broken on the front end of your site?
I’m not sure how Perfmatters deals with jQuery, perhaps the configuration on your site is just causing jQuery to be removed entirely.
jQuery lives in
wp-includes/js/jquery/jquery.jsbut the JavaScript dependency system in WordPress means this might not be the file you need to exclude from being removed. Your best bet is to ask the Perfmatters team for advice or check their existing documentation.Good luck!
What’s the underlying error on your server please? It’ll be in your server error log or PHP error log. The
502is just a generic error code from Cloudfront.