kurita0
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] Backport of the Page Cache fix to the 2.9.x branchThank you for your response.
I applied the patch following the procedure below, and confirmed that Page Cache with Disk: Enhanced mode is working correctly.
Thank you!
curl -O https://github.com/BoldGrid/w3-total-cache/commit/04d09f6c97932cd6a2b3a7b04c31bab58276aefd.patch
sed -e 's/\$w3tc_config/\$config/g' -e 's/\$w3tc_group/\$group/g' -e 's/\$w3tc_key/\$key/g' -e 's/\$w3tc_value/\$value/g' 04d09f6c97932cd6a2b3a7b04c31bab58276aefd.patch > 04d09f6c97932cd6a2b3a7b04c31bab58276aefd.patch-2.9.4
patch -p1 --ignore-whitespace < 04d09f6c97932cd6a2b3a7b04c31bab58276aefd.patch-2.9.4
patching file Cache_File_Generic.php
Hunk #3 succeeded at 275 (offset -2 lines).
Hunk #4 succeeded at 341 with fuzz 2 (offset -2 lines).
Hunk #5 succeeded at 449 (offset -2 lines).
Hunk #6 succeeded at 499 (offset -2 lines).
Hunk #7 succeeded at 516 (offset -2 lines).
patching file PgCache_ContentGrabber.php
Hunk #1 succeeded at 1674 (offset -20 lines).
Hunk #2 succeeded at 1749 (offset -20 lines).
Hunk #3 succeeded at 1762 (offset -20 lines).
Hunk #4 succeeded at 1773 (offset -20 lines).
patching file tests/test-cache-file-generic-path.php
rm tests/test-cache-file-generic-path.phpThank you for your assistance.
The problem was resolved by updating the MailPoet plugin from version 5.13.1 to 5.13.2 and the AIOSEO plugin from version 4.8.6 to 4.8.6.1.The same problem is occurring. Only the AIOSEO plugin uses the phpinsight library.
The cause of the error seems to be the require phpinsight/autoload.php in app/Common/Standalone/HeadlineAnalyzer.php.
54 $path = ‘/vendor/jwhennessey/phpinsight/autoload.php’;
55 if ( ! aioseo()->core->fs->exists( AIOSEO_DIR . $path ) ) {
56 return;
57 }
58 require AIOSEO_DIR . $path;