• Resolved devbd

    (@devbd)


    Hi, after upgrading PHP to 8.1, your plugin started generating a PHP warning. The warning is :

    PHP Warning: Undefined array key “img_crop” in /wp-content/plugins/modula-best-grid-gallery/includes/public/templates/modula-gallery.php on line 81, referer: /wp-admin/edit.php?post_type=page

    All components on the website are up-to-date and website is on the newest version of WordPress too. Could you support me with this warning, please? As you can see, it’s getting logged only when I edit the page in the back end of WordPress.

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @devbd,

    Could you please let me know if you are using Modula’s Gutenberg block on that page or are you using the simple shortcode to display the gallery? And if you are using the Gutenberg block, if you switch to the normal shortcode does the problem still persist?

    Also, could you please go to the edit screen of the problematic gallery, open the screen options and toggle on the “Debug gallery” box.


    After that please locate the “Debug gallery” box

    Export the gallery and send the downloaded file to us please. It contains the settings of the gallery so that we can import into our testing servers and try to replicate as detailed as we can what you are experiencing.

    Warmly,
    Razvan

    Plugin Author Cristian Raiber

    (@cristianraiber-1)

    Closing this due to inactivity.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Warning: Undefined array key “img_crop”’ is closed to new replies.