• Resolved Fabrizio Betti

    (@tutto-windows)


    Hi,

    In my Apache Error Log (/var/log/apache2/error.log) I have found some php errors. I found the problem in this rows:

    
    add_action('amp_init','ampforwp_cache_compatible_activator');
    function ampforwp_cache_compatible_activator(){
        add_action('template_redirect','ampforwp_cache_plugin_compatible');
    }
    function ampforwp_cache_plugin_compatible(){
        $ampforwp_is_amp_endpoint = ampforwp_is_amp_endpoint();
        if ( ! $ampforwp_is_amp_endpoint ) {
            return;
        }
        /**
         * W3 total cache
         */
        add_filter( 'w3tc_minify_js_enable', array( $this, '_return_false' ) );
        add_filter( 'w3tc_minify_css_enable', array( $this, '_return_false' ) );
    }
    

    I don’t use W3 total Cache Plugin so i deleted them. Now no errors.

    I hope it help you to improve your fantastic plugin!

    Thank You so much.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor ampforwp

    (@ampforwp)

    hey @tutto-windows

    I am so sorry for the delay. We are already aware of this, we have fixed this issue yesterday update i.e., 0.9.45.3

    Could you please confirm us, whether the issue is resolved or not?

    Thread Starter Fabrizio Betti

    (@tutto-windows)

    Yes,

    I Confirm, after your upgrade the plugin working well!

    Thank You so much!

    Plugin Contributor ampforwp

    (@ampforwp)

    Hey @tutto-windows

    We are glad to have you as a user. Without you, we couldn’t have resolved this issue. We really appreciate your support and cooperation.

    Thread Starter Fabrizio Betti

    (@tutto-windows)

    Thank to You for your incredible plugin!

    By ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Php Error after update: /var/log/apache2/error.log PHP 7.1’ is closed to new replies.