• Hi,

    after publishing/saving a newly created gallery, I get this error:

    Uncaught TypeError: filter_var_array(): Argument #1 ($array) must be of type array, null given in /path/is/censored/wp-content/plugins/masy-gallery/inc/masygal-gallery-metabox.php:119
    Stack trace:
    #0 /path/is/censored/wp-content/plugins/masy-gallery/inc/masygal-gallery-metabox.php(119): filter_var_array()
    #1 /path/is/censored/wp-includes/class-wp-hook.php(310): masygal_meta_box_save()
    #2 /path/is/censored/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #3 /path/is/censored/wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 /path/is/censored//wp-includes/post.php(4715): do_action()
    #5 /path/is/censored/wp-includes/post.php(4817): wp_insert_post()
    #6 /path/is/censored/wp-admin/includes/post.php(439): wp_update_post()
    #7 
    /path/is/censored/wp-admin/post.php(227): edit_post()
    #8 {main}
      thrown

    Please note that I get those error only after creating a gallery without any images.

    PHP version: 8.2
    WordPress version: 6.2.2

    I would be very happy if you publish a hotfix.

    Oh, I noticed this plugin uses the full images also for smaller sizes.
    To improve the page loading speed it would be great using the smaller sized images which are saved by wordpress by default.
    Also you thought think about an option to lazy load the images.

    Thanks!

    • This topic was modified 1 year, 5 months ago by fhwebdesign.
    • This topic was modified 1 year, 5 months ago by fhwebdesign.
  • The topic ‘Error while creating a gallery’ is closed to new replies.