Uncaught TypeError
-
Hello,
Using PHP8.1 I get this fatal error (works fine with 7.x and same configuration):
wp-web-1 | 2022/06/10 20:44:28 [error] 30#30: *33 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: flock(): supplied resource is not a valid stream resource in /var/www/html/wp-content/plugins/w3-total-cache/Cache_File.php:123 wp-web-1 | Stack trace: wp-web-1 | #0 /var/www/html/wp-content/plugins/w3-total-cache/Cache_File.php(123): flock(Resource id #687, 3) wp-web-1 | #1 /var/www/html/wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache_Regular.php(293): W3TC\Cache_File->set('0transientw3tc....', Array, 604800) wp-web-1 | #2 /var/www/html/wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache.php(50): W3TC\ObjectCache_WpObjectCache_Regular->set('w3tc.verify_plu...', true, 'transient', 604800) wp-web-1 | #3 /var/www/html/wp-content/object-cache.php(67): W3TC\ObjectCache_WpObjectCache->set('w3tc.verify_plu...', true, 'transient', 604800) wp-web-1 | #4 /var/www/html/wp-includes/option.php(937): wp_cache_set('w3tc.verify_plu...', true, 'transient', 604800) wp-web-1 | #5 /var/www/html/wp-content/plugins/w3-total-cache/Generic_Plugin_AdminCompatibility.php(60): set_transient('w3tc.verify_plu...', true, 604800) wp-web-1 | #6 /var/www/html/wp-includes/class-wp-hook.php(307): W3TC\Generic_Plugin_AdminCompatibility->verify('') wp-web-1 | #7 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) wp-web-1 | #8 /var/www/html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) wp-web-1 | #9 /var/www/html/wp-admin/admin-header.php(303): do_action('admin_notices') wp-web-1 | #10 /var/www/html/wp-admin/plugins.php(605): require_once('/var/www/html/w...') wp-web-1 | #11 {main}
Any help would be appreciated.
Tobias
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Uncaught TypeError’ is closed to new replies.