Keith
Forum Replies Created
-
Forum: Plugins
In reply to: [Performant Translations] Not as great as advertised@sterndata, Thx for the notice. I didn’t know about that.
@swissspidy, what bothered all of us (all parties jumped into debugging this issue) were not benefited by WP’s native debug as well as PHP/Nginx’s error log. In fact, there is no error log that we were able to find that is even potentially related to this issue. I guess the Kadence theme team now got kinda pissed, given the time wasted over the last a month. If we had any clue, it would have not been that long to pinpoint Performant Translations.
Again, I do hope that this issue is resolved before official roll out scheduled in late March. Good luck!
- This reply was modified 2 years, 5 months ago by Keith.
Forum: Plugins
In reply to: [Performant Translations] Not as great as advertisedthose pages are not loaded. For example, when Performant Translations together with aforementioned plugins are activated, if site language is non-English, I can’t open Site Health and User Edit. For both cases, the page is loaded with blank white, and in the browser’s top panel, instead of site title (for this forum page, it is “Not as great as advertised | WordPress…), I could only see the webpage’s url, like xxx.com/wp-admin/site-health.php. From time to time, I can see Site Health is updated on admin dashboard, so I assume the function is working, but not accessible when I click it by Tools -> Site Health. In other words, the function is working at the back, but the .php page is not loaded properly.
The same issue occurred to Users -> All Users -> ‘Edit’ user profiles. The user edit page is not loaded. If I wanted to change user’s name, role, password…, I had to directly access DB.
The issue was even more terrible for network’s admin page. In addition to aforementioned user edit, each subsite’s ‘Edit’ was not loaded. So, if I wanted to change subsite’s url, I had to deactivate Performant Translations. Initially I thought it is due to Kadence Block Pro, but after deactivating the plugin at network level and activate it on subsite level, it became clear that the issue was not because of Kadence’s plugins but due to Performant Translations, which was activated at network level.
Not sure what was the exact issue, but since I cannot activate Performant Translations for each subsite, I just deactivated it at network level. Above mentioned ‘malfunctions’ are just a tip of the iceberg. I had many plugins not working properly. ElasticPress stopped indexing on a few subsites (non-English ones), which I thought is due to ElasticSearch issue, at first. I removed and reinstalled it many times, and again, eventually after deactivating Performant Translations, ElasticPress suddenly indexes all my posts in just a few seconds.
I am sorry to Kadence theme supporting team by that I have wasted my and their time at least over a month.
I don’t have time to list up all the issues that I have suffered for the last a month, but I share this much, because I am super worried by the fact that from WP 6.5, Performant Translations is going to be the core of WP. On Mar 29th, immediately after WP 6.5 update, if all these malfunctions come back to me, it is going to be a nightmare again. I usually back-up daily and levae auto-update does the job, but this time, I am going to turn off auto update and will run 6.5 on a test server for at least a few days.
If you want it, I can give you my back-up for WP and DB, so that you can play on it on your local server, but I am done debugging for now.
Forum: Plugins
In reply to: [Performant Translations] Not as great as advertisedas strange as it sounds, after deactivating performant translations, a number of malfunctions are disappeared. I had some plugins not working properly (Kadence Block Pro, Elastic Press, One User Avatar, and a few more), and WP ‘s default site health, user edit functions did not work.
I guess the .mo to .php is not compatible with some plugins. This could be the key reason that I have not been able to witness any performance upgrade, or reason to see performance downgrade from time to time.
Since WP 6.5 is going to incorporate this function natively, I do hope that other plugins can keep up.
Forum: Plugins
In reply to: [Performant Translations] Not as great as advertisedI rely on above plugin for OPcache control, and I usually have around 80~90% hit ratio. Query monitor has so far not given me anything material, because most queries are nearly 0.1~0.2s.
Things that bother me a lot is LCP, but if I am not mistaken, it is for front-end, and it should fall to image caching issues. Many plugins that I have to rely on are another factor for the sluggish load time, but that’s something I have to compromise with.
‘PHP files are the fastest on PHP platform’ did attract my attention, and that’s why I’ve been testing on it for months. Since I do not have any on-site translation plugins (like WPML), I thought it should mostly affect on admin menus, so the impact will mostly be on admin pages. But having seen 20~40% reduced load time for key admin pages w/ English as a default language, I doubt .mo to .php conversion can make any noticable changes.
I do need to keep my own language in the website, but seeing ‘Needs Improvements’ and ‘Poor’ in Google Search Console tears my heart apart. Until I can find any better solution, I will stick to English version.
I hope integration to WP core from ver 6.5 can make any changes in performance.
- This reply was modified 2 years, 5 months ago by Keith.
Forum: Networking WordPress
In reply to: Multisite – Sorry, you are not allowed to access this page.One of the plugins that is an extension of my site’s theme has an issue with recently updated 8.2.14 (as well as 8.3.0 and 8.3.1), and another plugin seller refused to update his plugin compatible to 8.3. I either had to choose 8.2.11 (or maybe 8.2.12) or down to 8.1.x. The most recent version of 8.1 is 8.1.27.
Forum: Networking WordPress
In reply to: Multisite – Sorry, you are not allowed to access this page.@rokmeglic, I am kinda sick upto the level that I do not leave program versions un-updated. In my mind, I am suffering from the fact that I have to compromise with PHP 8.1 due to compatibility issues with other plugins, while brand new PHP 8.3 is available.
It has been running smoothly over 3 months, and recent updates, be it WordPress, theme, plugins, and/or any other settings, may have created such problems.
As said, I have de- and re-activated all plugins and switched themes back to twenty-twenty-four (even three). At least none of them worked for me so far.
Right. Given the fact that sqlite3 is also a part of PHP extension, I think what Docket does as an object cache may be similar to what sqlite3 can do.
Thx for the information!
- This reply was modified 2 years, 6 months ago by Keith.
Forum: Plugins
In reply to: [Docket Cache - Object Cache Accelerator] MultiNetwork compatibility?I over-guessed. Thx for the correction.
Seems like it is working fine now!
Forum: Plugins
In reply to: [Docket Cache - Object Cache Accelerator] MultiNetwork compatibility?Most content are stored in one of the sub-networks, but the main network’s cache becomes the largest. It’s like 200M vs 20M between main network and all sub-networks. As long as it works I am OK, but would be great to have some sort of understanding that why the main network has the largest cache.
Forum: Plugins
In reply to: [Docket Cache - Object Cache Accelerator] MultiNetwork compatibility?@nawawijamili, I was gonna say the config gets re-set everytime the cache is purged, since the config path is the same as the cache path, but your modification fixed it.
I can now really feel that it is workin properly. Just want to let you know that cache path for the sub-networks are
- /wp-content/cache/docket-cache/sub/network-x/network-x
Not sure if you need two ‘network-x’.
Whether or not, guess the folders to mount to RAM disk are then
- /wp-content/cache/docket-cache/main
- /wp-content/cache/docket-cache/sub/network-x
Plz correct me if I am wrong.
- This reply was modified 2 years, 6 months ago by Keith.
Forum: Plugins
In reply to: [Docket Cache - Object Cache Accelerator] MultiNetwork compatibility?I give you a couple of findings so that you can do debugging more easily.
For the sub-network’s config path, I do not think it can be a big deal, because I can find options.php from the config path, and whether it is with other cache files in the same folder or not does not seem an important issue.
In the /docket-cache-x/ folder, I have no files at all. In the /docket-cache-x/network-x folder, I have some files, but not as many as the main network. I have over 60,000 files in the main network’s cache path, but I have 625 files in the sub network’s cache path.
For the cache files limit, I have changed the config that it is 1M acorss network.
Immediately after activating Docket in a sub-network, both Object cache and Zend OPcache do not work. I run systemctl restart for nginx/php (more precisely for php-fpm), then Zend OPcache works, although the files seem shared across networks. I have the same stat for the sub-network and the main network. For Object cache, I have ‘Not Available’ or ‘0B object of 0 files’.
When I try to ‘Flush Object Cache’, then it says I have no cache so nothing to flush for.
I can pretty much understand what’s going on, except the obvious fact that Object cache does not function for sub-networks.
One last thing, and I guess this is more important than all of the above. When I remove following lines from wp-config.php
- define(‘DOCKET_CACHE_PATH_NETWORK_x’, ‘/var/www/mydomain.com/wp-content/cache/docket-cache-x’);
then Object cache seems working. At least I can see files are created, and config path / cache path are now different
- Cache path: /wp-content/cache/docket-cache/network-x
- Config path: /wp-content/docket-cache-data/network-3
Speed of the build-up is not as fast as the main network, but it certainly is none-zero.
I feel that it is still mis-configured, but not sure where to fix.
- This reply was modified 2 years, 6 months ago by Keith.
Forum: Plugins
In reply to: [Docket Cache - Object Cache Accelerator] MultiNetwork compatibility?@nawawijamili, thx for coming back quick.
I added # to file_put_contents line as you suggested. I still do not have Object cache working in my sub-network, and I wonder if it because of config path being the same as cache path. Both are
- /wp-content/cache/docket-cache-x/network-x
From what I can see in the main network,
- cache path: /wp-content/cache/docket-cache
- config path: /wp-content/docket-cache-data
When it comes to wp-config.php modification for cache path, I have following lines for all sub-networks (x being 2~8)
- define(‘DOCKET_CACHE_PATH_NETWORK_x’, ‘/var/www/mydomain.com/wp-content/cache/docket-cache-x’);
(so all are in uppercase, just in case you wonder)
Is there anything else I should do? In case it has to be renewed, I have deactivated Docket from all main/sub-networks, systemctl restarted php/nginx, reactivated Docket, and systemctl restarted php/nginx again.
Forum: Plugins
In reply to: [Docket Cache - Object Cache Accelerator] MultiNetwork compatibility?For the main network, in the overview
- cache path: /wp-content/cache/docket-cache
- config path: /wp-content/docket-cache-data
For the sub-network, in the overview
- cache path: /wp-content/cache/docket-cache-x/network-x
- config path: /wp-content/cache/docket-cache-x/network-x
But in WP folders, I can see folder structure like
- wp-content/docket-cache-data
- wp-content/docket-cache-data/network-3
and in cache folder
- /wp-content/cache/docket-cache
- /wp-content/cache/docket-cache/network-3
- /wp-conent/cache/docket-cache-3
- /wp-content/cache/docket-cache-3/network-3
Not sure what’s going on exactly, but I feel like cache path/config path must be reset for the sub-network, so as the cache folder structure, given what I hae in wp-content/docket-cache-data
Besides, since the RC update, the performance got slower about 50~80%. For example, for the most heavy website’s admin page, it used to take 5 secs to reload the edit.php page, which was nearly the same as Redis Object Cache, but w/ RC + aforementioned mis-configuration, it takes 7~8 secs.
Until I have further fix, I think it is better to stick to the stable version in network 1.
Forum: Plugins
In reply to: [Docket Cache - Object Cache Accelerator] MultiNetwork compatibility?For flushing cache files, I have ‘sorry you do not have permission’ error.
This happened to main network’s admin site.
Forum: Plugins
In reply to: [Docket Cache - Object Cache Accelerator] MultiNetwork compatibility?I also have following errors in .object-cache.log file
[2024-01-13 03:26:23 UTC] err : “000000000000-000000000000” “cache_get: Class “WC_Subscription” not found.” “”
[2024-01-13 03:26:23 UTC] err : “000000000000-000000000000” “cache_get: Class “WC_Order” not found.” “”Woocommerce is activated only in one of the subsites, and all the other sites are connected to that one via web hooks, in case you wonder about my settings.