• Resolved ggz78

    (@ggz78)


    Hello,

    I have this error on my website since recently :

    
    Fatal error: Uncaught Error: Call to undefined function is_user_logged_in() in /homepages/44/d848188129/htdocs/clickandbuilds/studiopepi/wp-content/plugins/wp-speed-of-light/inc/caches/file-page-cache.php:252 Stack trace: #0 [internal function]: wpsol_cache('<!DOCTYPE html>...', 9) #1 /homepages/44/d848188129/htdocs/clickandbuilds/studiopepi/wp-includes/functions.php(4755): ob_end_flush() #2 /homepages/44/d848188129/htdocs/clickandbuilds/studiopepi/wp-includes/class-wp-hook.php(287): wp_ob_end_flush_all('') #3 /homepages/44/d848188129/htdocs/clickandbuilds/studiopepi/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #4 /homepages/44/d848188129/htdocs/clickandbuilds/studiopepi/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #5 /homepages/44/d848188129/htdocs/clickandbuilds/studiopepi/wp-includes/load.php(1052): do_action('shutdown') #6 [internal function]: shutdown_action_hook() #7 {main} thrown in /homepages/44/d848188129/htdocs/clickandbuilds/studiopepi/wp-content/plugins/wp-speed-of-light/inc/caches/file-page-cache.php on line 252
    

    Here is the link : https://studiopepi.fr/

    I think it comes from a recent update.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author JoomUnited

    (@joomunited)

    Hi,

    I see the plugin is still enabled on your website.
    Where can I see the error? Is there a specific page or configuration?

    Cheers,

    Thread Starter ggz78

    (@ggz78)

    Hi,

    The plugin is still enabled indeed.
    The error appears at the very bottom of the page, under the footer.

    Plugin Author JoomUnited

    (@joomunited)

    Hi,

    I’m not sure why this error occurs. I would need to run some tests, if I can’t reproduce that I may ask you to post a support request.

    Could you disable others plugins one by one > clean cache and see if the error is still there?

    Also can you make a screenshot of the screen Speed Optimization > System Check

    Thanks.

    Thread Starter ggz78

    (@ggz78)

    Here is my system check :
    https://snipboard.io/NdLFvk.jpg

    This problem only occurs on this website, whereas on my other websites there is no error.
    Maybe it is caused by the fact that I use the function is_user_logged_in() in my child theme functions.php.

    But for whatever reason, the problem seems to be resolved. I don’t know why to be honest but well…

    Plugin Author JoomUnited

    (@joomunited)

    Hi,

    For some reason the function was called too early before the logic plugin is called. Could you please use our contact from our website (JoomUnited) to get in touch because I need additional information about the website, I can’t replicate the issue.

    Cheers,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error: Uncaught Error: Call to undefined function is_user_logged_in()’ is closed to new replies.