• Resolved passegua

    (@passegua)


    If I set PHP to version 8.1 then I get fatal error.

    This the debug log:

    Deprecated: Redis::pconnect(): Passing null to parameter #2 ($port) of type int is deprecated in /web/htdocs/www.sinapsi.org/home/wordpress/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 528
    
    Deprecated: Redis::pconnect(): Passing null to parameter #2 ($port) of type int is deprecated in /web/htdocs/www.sinapsi.org/home/wordpress/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 528
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /web/htdocs/www.sinapsi.org/home/wordpress/wp-content/plugins/google-site-kit/includes/Core/Admin/Standalone.php on line 95
    
    Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /web/htdocs/www.sinapsi.org/home/wordpress/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64
    
    Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /web/htdocs/www.sinapsi.org/home/wordpress/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /web/htdocs/www.sinapsi.org/home/wordpress/wp-content/plugins/wordpress-seo/src/conditionals/third-party/elementor-edit-conditional.php on line 22
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /web/htdocs/www.sinapsi.org/home/wordpress/wp-content/plugins/wordpress-seo/src/conditionals/third-party/elementor-edit-conditional.php on line 28
    
    Notice: La funzione amp_is_available è stata richiamata in maniera scorretta. <code>amp_is_available()</code> (or <code>amp_is_request()</code>, formerly <code>is_amp_endpoint()</code>) was called too early and so it will not work properly. WordPress is currently doing the <code>init</code> hook. Calling this function before the <code>wp</code> action means it will not have access to <code>WP_Query</code> and the queried object to determine if it is an AMP response, thus neither the <code>amp_skip_post()</code> filter nor the AMP enabled toggle will be considered. It appears the plugin with slug <code>jetpack</code> is responsible; please contact the author. Leggi Debugging in WordPress per maggiori informazioni. (Questo messaggio è stato aggiunto nella versione 2.0.0.) in /web/htdocs/www.sinapsi.org/home/wordpress/wp-includes/functions.php on line 5831
    
    Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /web/htdocs/www.sinapsi.org/home/wordpress/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64
    
    Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /web/htdocs/www.sinapsi.org/home/wordpress/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64
    
    Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /web/htdocs/www.sinapsi.org/home/wordpress/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64
    
    Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /web/htdocs/www.sinapsi.org/home/wordpress/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64
    
    Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /web/htdocs/www.sinapsi.org/home/wordpress/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64
    
    Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /web/htdocs/www.sinapsi.org/home/wordpress/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64
    Errore sul database di WordPress: [Table 'Sql1345755_5.wp_termmeta' doesn't exist]
    SELECT term_id, meta_key, meta_value FROM wp_termmeta WHERE term_id IN (7313) ORDER BY meta_id ASC
    
    Fatal error: Uncaught TypeError: mysqli_num_fields(): Argument #1 ($result) must be of type mysqli_result, bool given in /web/htdocs/www.sinapsi.org/home/wordpress/wp-includes/wp-db.php:3547 Stack trace: #0 /web/htdocs/www.sinapsi.org/home/wordpress/wp-includes/wp-db.php(3547): mysqli_num_fields() #1 /web/htdocs/www.sinapsi.org/home/wordpress/wp-includes/wp-db.php(737): wpdb->load_col_info() #2 /web/htdocs/www.sinapsi.org/home/wordpress/wp-content/plugins/w3-total-cache/DbCache_WpdbInjection_QueryCaching.php(218): wpdb->__get() #3 /web/htdocs/www.sinapsi.org/home/wordpress/wp-content/plugins/w3-total-cache/DbCache_WpdbNew.php(122): W3TC\DbCache_WpdbInjection_QueryCaching->query() #4 /web/htdocs/www.sinapsi.org/home/wordpress/wp-includes/wp-db.php(2836): W3TC\DbCache_WpdbNew->query() #5 /web/htdocs/www.sinapsi.org/home/wordpress/wp-includes/meta.php(1172): wpdb->get_results() #6 /web/htdocs/www.sinapsi.org/home/wordpress/wp-includes/meta.php(644): update_meta_cache() #7 /web/htdocs/www.sinapsi.org/home/wordpress/wp-includes/meta.php(571): get_metadata_raw() #8 /web/htdocs/www.sinapsi.org/home/wordpress/wp-includes/taxonomy.php(1391): get_metadata() #9 /web/htdocs/www.sinapsi.org/home/wordpress/wp-content/plugins/download-manager/src/Category/CategoryController.php(228): get_term_meta() #10 /web/htdocs/www.sinapsi.org/home/wordpress/wp-includes/class-wp-hook.php(307): WPDM\Category\CategoryController->wpdmproTemplates() #11 /web/htdocs/www.sinapsi.org/home/wordpress/wp-includes/plugin.php(191): WP_Hook->apply_filters() #12 /web/htdocs/www.sinapsi.org/home/wordpress/wp-includes/template-loader.php(104): apply_filters() #13 /web/htdocs/www.sinapsi.org/home/wordpress/wp-blog-header.php(19): require_once('...') #14 /web/htdocs/www.sinapsi.org/home/wordpress/index.php(17): require('...') #15 {main} thrown in /web/htdocs/www.sinapsi.org/home/wordpress/wp-includes/wp-db.php on line 3547
    A critical error has occurred on your website.

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @passegua

    Thank you for reaching out and I am happy to assist you with this.
    Let me test this with the latest Redis and PHP versions and I’ll get back to you with more information.
    Can you please confirm if the issue is gone if you downgrade the PHP to the previous version?

    Thread Starter passegua

    (@passegua)

    Thanks for answering me.
    I eventually found the culprit!
    w3-total-cache plugin + PHP 8.1 = crash!

    Totally remove that plugin was not easy since I had to delete many folders besides empting all caches.

    But now PHP 8.1 run together wordpress 6.0.2 without any problem

    And yes I confirm that w3-total-cache plugin + PHP 7.4 has no problem.

    But I’d rather prefer shift PHP to 8.1 since 7.4 is close to its EOL.

    Thanks

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @passegua

    Thank you for your feedback.
    Can you please also share if you used Redis and for which W3TC module if so?
    Thanks!

    Thread Starter passegua

    (@passegua)

    Yes I used Redis in all modules that support it.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @passegua

    Thank you for your feedback.
    I’ll make some more tests and get back to you with this.
    Thanks!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hey @passegua

    Thank you for your patience.
    I’ve created a GitHub issue on your behalf in our repository.
    Please make sure to track the progress of the issue and this will be fixed in the next release.
    Thanks!

    Thread Starter passegua

    (@passegua)

    I’ll follow it.
    Thanks.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @passegua

    Thank you for your patience.
    Can you please let me know if the problem is fixed for you with the latest 2.2.7 release?
    Thanks!

    Thread Starter passegua

    (@passegua)

    Thanks for answering me.
    I eventually found the culprit!
    w3-total-cache plugin + PHP 8.1 = crash!

    Totally remove that plugin was not easy since I had to delete many folders besides empting all caches.

    But now PHP 8.1 run together wordpress 6.0.2 without any problem

    I don’t have any more w3-total-cache plugin installed so I cannot help.

    Thanks.

    Thread Starter passegua

    (@passegua)

    Maybe in future I’ll install it again and let you know what happening

    Thread Starter passegua

    (@passegua)

    After few months I tried installing again w3-total-cache plugin version 2.3.0 but now I get this fatal error:

    Si è verificato un errore critico sul tuo sito web.

    Scopri di più riguardo la risoluzione dei problemi in WordPress.

    and cannot see my web sit online any more!

    This is the actual page:

    https://www.sinapsi.org/wordpress/2011/04/18/dimostrazione-visuale-primo-teorema-di-euclide/?relatedposts_hit=1&relatedposts_origin=22706&relatedposts_position=2&relatedposts_hit=1&relatedposts_origin=22706&relatedposts_position=2

    Thread Starter passegua

    (@passegua)

    I also tried to use the plugin Google PageSpeed

    But this is what I get:

    Google PageSpeed

    This tool will analyze your website’s homepage using the Google PageSpeed Insights API to gather desktop/mobile performance metrics. Additionally for each metric W3 Total Cache will include an explaination of the metric and our recommendation for achieving improvments via W3 Total Cache features/extensions if available. Results will be cached for of 1 hour but will forcibly refresh via the “Refresh Analysis” button.

    Analysis last run

    API request error!

    Analyze URL : https://www.sinapsi.org/wordpress

    Mobile response Code : 500

    Mobile response Message : Lighthouse returned error: ERRORED_DOCUMENT_REQUEST. Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Status code: 500)

    Desktop response Code : 500

    Desktop response Message : Lighthouse returned error: ERRORED_DOCUMENT_REQUEST. Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Status code: 500)

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘wordpress version 6.0.2 fatal error when PHP 8.1’ is closed to new replies.