Dropdown menu only appearing when logged in
Dropdown menu only appearing when logged in
Dropdown menu only appearing when logged in
Content Encoding Error
Sudden ERR_HTTP2_PROTOCOL_ERROR on every JS and CSS files loads
How to clear cache for get_terms()
For WP Super Cache, it’s not well documented, but there appear to be two ways to accomplish this. Ignore ALL $_GET parameters: Under Wp Super Cache Settings > Advanced, there is a checkbox labeled “Don’t cache pages with GET parameters. (?x=y at the end of a url)”. This would mean that any URL would be … Read more
Either there’s something misconfigured in your WP install or your hosting is completely inadequate to your traffic, there’s no way you should be seeing a TTFB that high. I run my own site on WP and the TTFB without cache or CDN is under 400ms. Could you share the contents of your homepage template (index.php/home/php/whatever)?
First of all, a PHP Notice is just that: a notice. It’s not an error. PHP is simply letting you know there is a minor issue with the code. The code will probably still work OK. 98% of site PHP logs will show notices and warnings when debug is enabled. Real errors that crash a … Read more
Looking at the source of class-wp-query.php (ie, the WP_Query code), I find this: /* * Ensure the ID database query is able to be cached. * * Random queries are expected to have unpredictable results and * cannot be cached. Note the space before `RAND` in the string * search, that to ensure against a … Read more
Here is an untested one-liner, counting the cache data array returned from the magic __get method, with a fallback to an empty array if the group key is not set: ‘numberOfEntries’ => count( $wp_object_cache->cache[$group] ?? [] ); Another approach is to consider bindTo to access the private cache array of the $wp_object_cache instance via closure.
For a completely accurate answer you’ll need to ask WPEngine for support, but there’s some general things to consider. Normally when you visit a WordPress page, the WordPress PHP application needs to run so it can retrieve the content from the database and render it using your theme’s templates, and this involves loading and running … Read more