• Resolved ondrejc

    (@ondrejc)


    Hello, after last update every page with Modula gallery shortcode is messed up (whole page content under the header image disappeared, there are only few “empty” gallery image blocks covering everything else). And I can´t even edit those pages via admin as it shows fatal error screen when i click on edit page link. See the screenshot: https://postimg.cc/RWnpZXtB.
    I´m on localhost, latest WP, PHP 8.1.2, everything ok so far until the update.
    Is it only me and my configuration, or some bug within the update?
    Many thanks!

    • This topic was modified 2 years, 1 month ago by ondrejc.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor George Ciobanu

    (@giucu91)

    Hello @ondrejc ,

    Can you send me some screenshots with your gallery’s images ? It’s possible to have an image that is no longer on WP.

    Also can you give me some screenshots with messed up pages tu try to help you ?

    Thank you,
    George.

    Thread Starter ondrejc

    (@ondrejc)

    Hello @giucu91

    thank you for fast reply. It´s weird because all of my images are visible on WP media page/list and also on Modula gallery backend edit page, where I can see them and edit the gallery as usual.

    This is the look of all my pages with Modula shortcode: https://postimg.cc/D8KyfYHr

    Page header + header image are there, but everything else below them disappeared and is covered with few Modula gallery missing images. Also no page footer, etc.

    Here is screenshot of the frontend source code – there´s the same warning/error message as in backend when I try to edit the page: https://postimg.cc/yDcG1LqZ. And the rest code of page is missing.

    Thank you!

    Plugin Contributor George Ciobanu

    (@giucu91)

    Hello @ondrejc ,

    Please go to wp-content/plugins/modula-best-grid-gallery/includes/public/modula-helper-functions.php on line 330 and change : function_exists( 'mime_content_type' ) with function_exists( 'mime_content_type' ) && $data->image_info['file_path'].

    Let me know if everything is ok now.

    Thread Starter ondrejc

    (@ondrejc)

    Yep! That´s it! All works!

    Thank you for your time and lightning fast solution 🙂

    Will it be fixed in the next update?

    Plugin Contributor George Ciobanu

    (@giucu91)

    Hello @ondrejc ,

    For sure we will include this in the next update but also we will try to reproduce your issue and see what was the problem and why this happened.

    George.

    Thread Starter ondrejc

    (@ondrejc)

    Many thanks, @giucu91 ! Also for your really great plugin!

    Have a nice day 😉

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error after last update’ is closed to new replies.