[Support request] Cannot see errors when debug is activated

Home Forums Support [Support request] Cannot see errors when debug is activated

Home Forums Support Cannot see errors when debug is activated

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #703981
    Alessio Angeloro

    Hi Tom,

    when I develope some plugins I need to debug it, but if I enable wp debug, display error, script error, I can’t see any error on page but only a blank page; this issue happen in original themes update or child theme.

    Any idea ? Is not hosting problem, because WP write error in a log files but I cant’ see it.

    Regards,
    Alessio

    GeneratePress 2.1.4
    GP Premium 1.7.2
    #704286
    Leo
    Staff
    Customer Support

    Hi there,

    I could be missing something here but this doesn’t sound like a GP problem to me.

    Are there reasons that let you think it’s a GP problem?

    Have you tried #1 or #4 here to test?
    https://docs.generatepress.com/article/debugging-tips/

    Let me know ๐Ÿ™‚

    #704446
    Alessio Angeloro

    Hi Leo, sure i follow the guide, i’m a developer ๐Ÿ™‚

    If i change theme i see the error intead of blank page.

    #704579
    Tom
    Lead Developer
    Lead Developer

    I’ve run into this before – it’s usually a server configuration issue when it comes to the error_log() function in PHP.

    Have you checked if things are printing to the deblog.log file in the wp-content folder? I believe that’s WP_DEBUG_LOG – it’s my favorite debugging method in WP.

    #704817
    Alessio Angeloro

    Yes the error are write in the file, but i prefer to see all error in my screen.

    Any suggestion ?

    Alessio

    #705337
    Tom
    Lead Developer
    Lead Developer

    Unfortunately I’m not an expert when it comes to server stuff.

    If WP_DEBUG_DISPLAY is enabled, it should display on the page itself.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.