• Resolved seblito

    (@seblito)


    Running this on a new site with GeneratePress theme and GenerateBlocks installed. Everything is up to date.

    The following error message appears when activating this plugin:

    Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /Users/xxxxxxxxxx/Local Sites/xxxxxxxxxxxxxxx/app/public/wp-content/plugins/meow-lightbox/classes/core.php:257 Stack trace: #0 /Users/xxxxxxxxxx/Local Sites/xxxxxxxxxxxxxxx/app/public/wp-content/plugins/meow-lightbox/classes/core.php(257): date(‘Y-m-d – H:i’, ”) #1 /Users/xxxxxxxxxx/Local Sites/xxxxxxxxxxxxxxx/app/public/wp-content/plugins/meow-lightbox/classes/core.php(456): Meow_MWL_Core->get_exif_info(‘1048’) #2 /Users/xxxxxxxxxx/Local Sites/xxxxxxxxxxxxxxx/app/public/wp-content/plugins/meow-lightbox/classes/core.php(438): Meow_MWL_Core->write_mwl_data(true) #3 [internal function]: Meow_MWL_Core->lightboxify(‘…’, 9) #4 /Users/xxxxxxxxxx/Local Sites/xxxxxxxxxxxxxxx/app/public/wp-includes/functions.php(5309): ob_end_flush() #5 /Users/xxxxxxxxxx/Local Sites/xxxxxxxxxxxxxxx/app/public/wp-includes/class-wp-hook.php(308): wp_ob_end_flush_all(”) #6 /Users/xxxxxxxxxx/Local Sites/xxxxxxxxxxxxxxx/app/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #7 /Users/xxxxxxxxxx/Local Sites/xxxxxxxxxxxxxxx/app/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /Users/xxxxxxxxxx/Local Sites/xxxxxxxxxxxxxxx/app/public/wp-includes/load.php(1144): do_action(‘shutdown’) #9 [internal function]: shutdown_action_hook() #10 {main} thrown in /Users/xxxxxxxxxx/Local Sites/xxxxxxxxxxxxxxx/app/public/wp-content/plugins/meow-lightbox/classes/core.php on line 257

    Could this be a bug?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter seblito

    (@seblito)

    Update

    I rolled back to version 4.0.3 today and the fatal error disappeared, so yes I would say this is an actual bug.

    Thread Starter seblito

    (@seblito)

    Version 4.0.5 resolved this issue.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Yes! Sorry, I didn’t mention 🙂 Pushing lot of bug fixed these days on many plugins. Cheers!

    This seems to have come back, throwing a fatal error on a few sites for me.

    In version 4.0.5 $timestamp was cast to (int) and that version still works.

    Here’s the error:
    PHP Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /sites/stage.ecobuildinggroup.ca/files/wp-content/plugins/meow-lightbox/classes/core.php:278

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Fatal error: Uncaught TypeError: date’ is closed to new replies.