AMP causes issue on PHP-Server. This creates faults on my cookie plugin.

This topic has 2 replies, 2 voices, and was last updated 3 years ago ago by Rose Tyler

  • Avatar: Sebastian
    Sebastian
    Participant
    December 10, 2021 at 15:44

    Hi can you please help to solve the following php issue probably caused by AMP?

    [09-Dec-2021 16:18:55 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_cart_contents_count() on null in /home/www/limx2022/wp-content/plugins/xstore-amp/xstore-amp.php:287
    Stack trace:
    #0 /home/www/limx2022/wp-includes/class-wp-hook.php(303): XStore_AMP->{closure}(”)
    #1 /home/www/limx2022/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #2 /home/www/limx2022/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #3 /home/www/limx2022/wp-settings.php(600): do_action(‘wp_loaded’)
    #4 /home/www/limx2022/wp-config.php(94): require_once(‘/home/www/limx2…’)
    #5 /home/www/limx2022/wp-load.php(50): require_once(‘/home/www/limx2…’)
    #6 /home/www/limx2022/wp-blog-header.php(13): require_once(‘/home/www/limx2…’)
    #7 /home/www/limx2022/index.php(17): require(‘/home/www/limx2…’)
    #8 {main}
    thrown in /home/www/limx2022/wp-content/plugins/xstore-amp/xstore-amp.php on line 287

    Best regards,
    Sebastian

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 10, 2021 at 15:57

    Hello,

    Do you use 1.0.2 version of the AMP plugin?
    Provide temporary wp-admin and FTP access.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

The issue related to '‘AMP causes issue on PHP-Server. This creates faults on my cookie plugin.’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.