slservice33
Forum Replies Created
-
Forum: Plugins
In reply to: [Fast Woo Order Lookup] Uncaught Error: Call to a member function get_id()Superb, thank you.
Forum: Plugins
In reply to: [WP Rollback - Rollback Plugins and Themes] maintenance mode page was cachedHi, yes so the cached version of one of my site pages was your maintenance mode page and it remained so until I cleared the cache of the page caching plugin.
https://wordpress.org/support/topic/cached-maintenance-mode-page/
Forum: Plugins
In reply to: [WP Fastest Cache] cached maintenance mode pageGreat thanks. So the issue is with the maintenance mode page used by WP-Rollback plugin.
I will raise this with them.
Forum: Plugins
In reply to: [WP Fastest Cache] cached maintenance mode pageThanks for your message. It was using the WP-Rollback plugin going back to a previous version of a plugin which was playing up.
Forum: Plugins
In reply to: [WP Fastest Cache] Hundreds of posts which are only viewed onceI’m sorry I’m not sure what that means. Can you explain what is not a good idea ?
Actually the auto caching would go from the site map and these posts are hidden and not on the site map.
The posts I dont want to cache are in the category “customer reports” with the permalink http://www.mysite/customer-reports/post1234 so I have excluded starts with https://www.mysite/customer-reports/ from page caching.
Forum: Plugins
In reply to: [WP Fastest Cache] Hundreds of posts which are only viewed onceThanks, I was thinking more that each post counts as a page and that I have set WP Fastest Cache to automatically cache 6 pages per minute it would be re caching pages which no one looks at.
Anyway I changed my permalink structure so that I can exclude the category of post I don’t need to cache.
Much appreciated, its a great plugin.
Forum: Plugins
In reply to: [WooCommerce] product_categories shortcode block thumbnail sizesI fixed this by disabling lazy load with the following PHP snippet:
add_filter( 'wp_lazy_loading_enabled', '__return_false' );Please let me know if there is a solution other than disabling lazy load.
Forum: Plugins
In reply to: [WP Fastest Cache] Don’t Cache Logged in Users – Security RiskThanks. You say you would leave it checked but you dont say why ?
The my-account pages aren’t cached and the other site pages would be the same logged in or out.
Is there a reason I dont’ know about for not showing logged in users cached pages ?
Forum: Plugins
In reply to: [WP Fastest Cache] Don’t Cache Logged in Users – Security RiskHi, no my question relates to showing the cached version to logged in users.
Can you clarify if for a simple Woocommerce shop I should enable or disable this option.
Logged-in Users — Don’t show the cached version for logged-in users
Forum: Plugins
In reply to: [WooCommerce] WC_Abstract_Legacy_Order->__get, wc_doing_it_wrongThanks that is very helpful. This is from the search exclude plugin and I have informed the developer.
Currently it works but with the warning. In the future will it stop working or cause a fatal PHP error ?
Forum: Plugins
In reply to: [Search Exclude] wc_doing_it_wrongHi, the issue is that I get this PHP error when I edit woocommerce orders with search exclude plugin active.
When I turn off search exclude plugin the error is not there and using query monitor the backtrace is to :Automattic\WooCommerce\Internal\Admin\Orders\Edit->render_meta_boxes, do_meta_boxes, QuadLayers\QLSE\Controllers\Backend->metaboxI’ve googled the issue and apparently its from accessing Object properties directly, instead use
WC_Ordermethods and replace:$order->statusby$order->get_status()$order->totalby$order->get_total()
Forum: Everything else WordPress
In reply to: 2 wordpress sites on 1 server issueI’ve found the reason. Opcache memory was full and so was only working for 1 site at a time.
Using the plugin WP OPcache I can see what opcache is doing.
Then for my server I edit the opcache config file which in my case is
sudo nano /etc/php/8.1/cli/conf.d/10-opcache.iniI added these settings:
opcache.memory_consumption=512
opcache.interned_strings_buffer=64
opcache.max_accelerated_files=32500
opcache.revalidate_freq=60
opcache.enable_cli=1
opcache.enable=1restart php which in my case is
sudo service php8.1-fpm restartand both sites now work the same.
Forum: Plugins
In reply to: [WooCommerce] Increase in Woocommerce Database QueriesI’ve found the reason. Opcache memory was full and so was only working for 1 site at a time.
Using the plugin WP OPcache I can see what opcache is doing.
Then for my server I edit the opcache config file which in my case is
sudo nano /etc/php/8.1/cli/conf.d/10-opcache.iniI added these settings:
opcache.memory_consumption=512
opcache.interned_strings_buffer=64
opcache.max_accelerated_files=32500
opcache.revalidate_freq=60
opcache.enable_cli=1
opcache.enable=1restart php which in my case is
sudo service php8.1-fpm restartand both sites now work the same.
I’ve found the reason. Opcache memory was full and so was only working for 1 site at a time.
Using the plugin WP OPcache I can see what opcache is doing.
Then for my server I edit the opcache config file which in my case is
sudo nano /etc/php/8.1/cli/conf.d/10-opcache.iniI added these settings:
opcache.memory_consumption=512
opcache.interned_strings_buffer=64
opcache.max_accelerated_files=32500
opcache.revalidate_freq=60
opcache.enable_cli=1
opcache.enable=1restart php which in my case is
sudo service php8.1-fpm restartand both sites now work the same.