Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30737
    mattia
    Guest

    Hello,

    on my webiste when i activate the w3 total cache plugin i see this error in error log

    [27-Jan-2020 10:57:15 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Query as array in /home/itprofessione/public_html/wp-content/plugins/w3-total-cache/Util_Environment.php:1041
    Stack trace:
    #0 /home/itprofessione/public_html/wp-content/plugins/w3-total-cache/Generic_Plugin.php(311): W3TCUtil_Environment::detect_post_id()
    #1 /home/itprofessione/public_html/wp-includes/class-wp-hook.php(288): W3TCGeneric_Plugin->admin_bar_menu(Object(WP_Admin_Bar))
    #2 /home/itprofessione/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
    #3 /home/itprofessione/public_html/wp-includes/plugin.php(544): WP_Hook->do_action(Array)
    #4 /home/itprofessione/public_html/wp-includes/admin-bar.php(86): do_action_ref_array(‘admin_bar_menu’, Array)
    #5 /home/itprofessione/public_html/wp-includes/class-wp-hook.php(288): wp_admin_bar_render(”)
    #6 /home/itprofessione/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
    #7 /home/itprofessione/public_html/wp-includes/plugin.php(478): WP_Hook->do_action( in /home/itprofessione/public_html/wp-content/plugins/w3-total-cache/Util_Environment.php on line 1041

    why?

    #30738
    support
    Guest

    Thank you for contacting us!

    To get the best support possible for W3 Total Cache please create a post in the public forums https://wordpress.org/support/plugin/w3-total-cache/.

    If you’re able to make a post there, the developers will be able to get the necessary information to resolve the issue for you.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘w3 total cache fatal error’ is closed to new replies.