• Resolved Kaleb J. Barker

    (@brainfork)


    Hello,

    Can you add a class_exists check to the Parsedown class to prevent it from being defined if it has already been defined? This is causing issues with other plugins in use on some sites.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @brainfork,

    We already do, any time Parsedown is included it does:

    
    if (!class_exists('Parsedown')) {
        require_once AGE_GATE_PATH . 'includes/Parsedown.php';
    }
    

    What is the fatal error saying?

    Thanks,
    Phil

    Thread Starter Kaleb J. Barker

    (@brainfork)

    @philsbury thank you for confirming. On closer inspection it appears that this was an issue with a different plugin

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