• Resolved luxinterior

    (@luxinterior)


    I’ve been using your plugin for a while and really like it. I noticed after the latest updates I’m getting a fatal error on PHP pages that pull in WP via…

    require_once( ABSPATH . 'wp-load.php' );

    The specific error looks like…

    Fatal error: Uncaught Error: Class 'FlyingAnalytics\Settings' not found in

    This was causing the whole script to fail so I had to remove the plugin for now and go back to using GA by manually inserting it.

    I hope you can fix this issue soon as I definitely think the plugin was helping with speed etc.

    Thanks

    Lux

    • This topic was modified 3 years, 1 month ago by luxinterior.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gijo Varghese

    (@gijo)

    @luxinterior what version of PHP are you using? And can you share the full error message?

    Also, any other info on how can I reproduce this error?

    Thread Starter luxinterior

    (@luxinterior)

    @gijo I’m using PHP 7.3

    To recreate the error should be pretty simple. Just create a php file and put this in…

    
    
    ini_set('display_errors', 1);
    ini_set('display_startup_errors', 1);
    error_reporting(E_ALL);
    
    define( 'ABSPATH', $_SERVER['DOCUMENT_ROOT'] . '/' );
    
    require_once( ABSPATH . 'wp-load.php' );
    
    

    lux

    Plugin Author Gijo Varghese

    (@gijo)

    @luxinterior I just check and I’m unable to reproduce the issue. Try re-installing the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error’ is closed to new replies.