• gena3004

    (@gena3004)


    I have already posted this issue on Gutenberg GitHub, so I just copy it and report their answer, which seems to be helpful.

    Problem description:
    Using Gutenberg to create a blog post results in a fatal error.

    • Gutenberg fails to publish a blog post and end up ‘hanging’
    • However, the article seems to be partially published, as it can be reached from this page (second article from above): https://www.genialcontent.com/blog/
    • But as soon as you click on the article’s individual url you get a new page with this error message:
      Fatal error: Call to undefined function lite_continue_reading_link() in /home/ge00002/www/wp-content/themes/didi-lite/functions.php on line 294

    Answer from Gutenberg contributor and offered solution
    This is a problem in the theme’s functions.php file.

    function didi_lite_custom_excerpt_more( $output ) {
    if ( has_excerpt() && ! is_attachment() ) {
    $output .= didi-lite_continue_reading_link();
    }
    return $output;
    }
    It should be didi_lite_continue_reading_link()

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Anariel Design

    (@anariel-design)

    Hi,

    thank you for letting me know, I just made the update and it will go live soon.

    All the best,
    Ana

    Theme Author Anariel Design

    (@anariel-design)

    Hi,

    you can now update your theme and please let me know if it works for you.

    All the best,
    Ana

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error when publishing a blog post – didi-lite’ is closed to new replies.