owenfar
Forum Replies Created
-
Hello @rafaelninvalle,
The problem never appeared again after the updates.
I guess best chance is to try another caching plugin in the meantime, to see if it will happen again. This way you can eliminate whether the problem is coming from WP-Optimize or not.
@bornforphp I updated all plugins and left everything as is for now. I cannot disable all plugins because the site wouldn’t work otherwise. If it happens again I will disable WP Optimize and wait for another error if any come up, and move on from there.
I can keep you updated here if/when I discover the conflict.
Thank you for your support.
@bornforphp It is on Cloudflare, but as far as I can tell only the DNS service is being used. Have you had any issues because of this before, or is this the first time?
From my side it’s actually the first project that has both Cloudflare and WP Optimize, other projects on Cloudflare have different caching systems.
Would be great if you can help, as I really like to keep this caching plugin, best one I know by far.
Thanks again,
Owen@bornforphp No other caching plugins on WordPress, still waiting for a response from the team if we have Cloudflare, if you think that might cause such an issue. Otherwise no caching directly on the server either.
Hello @bornforphp,
Thank you for your quick response.
Please find some of the error logs here from the day of DB error: https://pastebin.com/3DziCpAU
I think the error happens here:
PHP Fatal error: Uncaught Error: Call to undefined function wp_cache_get() in /var/www/html/wp-includes/option.php:146\nStack trace:\n#0 /var/www/html/wp-includes/l10n.php(63): get_option()\n#1 /var/www/html/wp-includes/l10n.php(137): get_locale()\n#2 /var/www/html/wp-includes/l10n.php(1285): determine_locale()\n#3 /var/www/html/wp-includes/l10n.php(1247): _get_path_to_translation_from_lang_dir()\n#4 /var/www/html/wp-includes/l10n.php(1217): _get_path_to_translation()\n#5 /var/www/html/wp-includes/l10n.php(1315): _load_textdomain_just_in_time()\n#6 /var/www/html/wp-includes/l10n.php(185): get_translations_for_domain()\n#7 /var/www/html/wp-includes/l10n.php(297): translate()\n#8 /var/www/html/wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php(37): __()\n#9 [internal function]: wpo_cache()\n#10 {main}\n thrown in /var/www/html/wp-includes/option.php on line 146
But I’m not sure what to do with this.
Hope you can identify better.
Thanks in advance,
OwenI added a temporary fix myself for anyone having the same issue, go to front.js in the WOOF plugins directory and edit the line “var l = woof_current_page_link + ‘?swoof=1’ + ‘&min_price=’ + woof_current_values.min_price + ‘&max_price=’ + woof_current_values.max_price;” by adding the + ‘?swoof=1’ +. Make sure to apply the same changes in the front_comprssd.js file too.
Keep in mind that any updates to the plugin might override this fix until the author of this plugin applies the fix within.
I found what the problem is. When you click on the price filters only, the swoof=1 is not passed in the URL. When I add this, the price filter works on its own. Is there a way this can be fixed quickly from the backend, or can you update the plugin with this fix for price filters? Thanks
The price filter on its own doesn’t work, but when you choose another filter option or even a different sorting option (not default), it works properly.