Piwigo / piwigo-videojs

Videojs port for piwigo. Play your videos on your web gallery!
http://piwigo.org/ext/extension_view.php?eid=610
GNU General Public License v3.0
67 stars 46 forks source link

Fatal error: Uncaught TypeError: imagesx() #209

Closed Rneil-ca closed 1 year ago

Rneil-ca commented 1 year ago

Receintly upgrade Piwigo from version 12 to 13 and have been having issues. Fixed my last issue with help from here. I am running Piwigo 13.7.0 and have installed the latest piwigo-videojs from Git. I am getting the following error when trying to sync with videojs, it completes without error when in simulation:

Fatal error: Uncaught TypeError: imagesx(): Argument #1 ($image) must be of type GdImage, bool given in /var/www/html/photo/plugins/piwigo-videojs/include/function_frame.php:70 Stack trace: #0 /var/www/html/photo/plugins/piwigo-videojs/include/function_frame.php(70): imagesx() #1 /var/www/html/photo/plugins/piwigo-videojs/include/function_sync2.php(218): add_movie_frame() #2 /var/www/html/photo/plugins/piwigo-videojs/admin/admin_sync.php(104): require_once('...') #3 /var/www/html/photo/plugins/piwigo-videojs/admin/admin.php(68): include_once('...') #4 /var/www/html/photo/admin/plugin.php(53): include_once('...') #5 /var/www/html/photo/admin.php(345): include('...') #6 {main} thrown in /var/www/html/photo/plugins/piwigo-videojs/include/function_frame.php on line 70

I can not find any other reference to this error, so not even sure where to start.

Thank you for any help.

Ryan