Support » Plugin: Nginx Helper » Fatal error: Conflict with Autoptimize

  • alexsina

    (@alexsina)


    Hello,

    When both Nginx helper and Autoptimize are activated, there will fatal error.

    (https://wordpress.org/support/plugin/autoptimize/)

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about debugging in WordPress.

    Notice: Trying to get property ‘feeds’ of non-object in /var/www/mysite.com/htdocs/wp-includes/post.php on line 4571

    Notice: Trying to get property ‘feeds’ of non-object in /var/www/mysite.com/htdocs/wp-includes/post.php on line 4571

    Notice: Trying to get property ‘use_trailing_slashes’ of non-object in /var/www/mysite.com/htdocs/wp-includes/link-template.php on line 49

    Notice: Trying to get property ‘use_trailing_slashes’ of non-object in /var/www/mysite.com/htdocs/wp-includes/link-template.php on line 49

    Fatal error: Uncaught Error: Call to a member function get_author_permastruct() on null in /var/www/mysite.com/htdocs/wp-includes/author-template.php:347 Stack trace: #0 /var/www/mysite.com/htdocs/wp-content/plugins/nginx-helper/admin/class-purger.php(322): get_author_posts_url() #1 /var/www/mysite.com/htdocs/wp-content/plugins/nginx-helper/admin/class-purger.php(193): Purger->_purge_by_options() #2 /var/www/mysite.com/htdocs/wp-content/plugins/nginx-helper/admin/class-nginx-helper-admin.php(589): Purger->purge_post() #3 /var/www/mysite.com/htdocs/wp-includes/class-wp-hook.php(287): Nginx_Helper_Admin->set_future_post_option_on_future_status() #4 /var/www/mysite.com/htdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() #5 /var/www/mysite.com/htdocs/wp-includes/plugin.php(484): WP_Hook->do_action() #6 /var/www/mysite.com/htdocs/wp-includes/post.php(4902): do_action() #7 /var/www/mysite.com/htdocs/wp-includes/post.php(4209): wp_transition_post_status() #8 /var/www/mysite.com/htdocs/wp-content/plugins/snitch/inc/snitch_cpt.class.php(808): w in /var/www/mysite.com/htdocs/wp-includes/author-template.php on line 347

    Would you please let me know how to resolve? thanks

  • You must be logged in to reply to this topic.