MyBBHacks.com Plugins for  MyBB

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting Errors with EzGalleryPro 5.5.1
#1
Hi,

We installed Pro last December and members have been adding photos.  It was brought to my attention yesterday that the galleries have error messages.

This is what I see when entering to Gallery, at the top of the webpage:
_________________________________________________________________________________________
Notice: Undefined index: video_addon in /home/user/public_html/forum/ezgallery.php on line 3952

Notice: Undefined index: user in /home/user/public_html/forum/ezgallery.php on line 3962

Notice: Trying to access array offset on value of type null in /home/user/public_html/forum/ezgallery.php on line 3962

Notice: Undefined index: html_headers in /home/user/public_html/forum/inc/ezgallery.lib.php on line 530

_________________________________________________________________________________________



When I drill into the member galleries, I get 6 lines of error for each member gallery:
_________________________________________________________________________________________
Notice: Trying to access array offset on value of type null in /home/user/public_html/forum/inc/ezgallery.lib.php on line 2527

Notice: Trying to access array offset on value of type null in /home/user/public_html/forum/inc/ezgallery.lib.php on line 2552

Notice: Trying to access array offset on value of type null in /home/user/public_html/forum/inc/ezgallery.lib.php on line 2573

Notice: Undefined index: starimage in /home/user/public_html/forum/inc/ezgallery.lib.php on line 2578

Notice: Trying to access array offset on value of type null in /home/user/public_html/forum/inc/ezgallery.lib.php on line 2580

Notice: Undefined index: userstars in /home/user/public_html/forum/inc/ezgallery.lib.php on line 2595

_________________________________________________________________________________________



 I'm not aware of any forum or web host changes.  I hope this is a setting issue.  

Any help on where to start would be appreciated.
thanks!  Daryl
Reply
#2
Probably due to PHP 8 changes

I posted a new update today to help fix this
5.5.2
!Fixes for PHP 8.0+
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#3
I did the upgrade to 5.5.2 and most of the errors are gone.  I still get a few error lines in sub folders.  

Also, according to the MyBB Admin Dashboard, my PHP version is 7.4.28 (see attached)

If it is helpful for you to have a login on the site, let me know and I'll set one up for you.

thanks!
Daryl


Some example errors still happening:

System Folders and sub folders:

Notice: Undefined index: page in /home/user/public_html/forum/ezgallery.php on line 295
Notice: Undefined index: page in /home/user/public_html/forum/ezgallery.php on line 297


User Galleries (user list page)
Notice: Undefined index: page_title in /home/user/public_html/forum/inc/ezgallery.lib.php on line 530


Attached Files Thumbnail(s)
   
Reply
#4
Thanks yes, give me all the unique errors and will fix them.
Probably the host enabled more error logging to be displayed.
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#5
More errors...
When selecting an image
Notice: Undefined index: html_headers in /home/user/public_html/forum/ezgallery.php on line 4276

Plus the three from above:
System Folders and sub folders:

Notice: Undefined index: page in /home/user/public_html/forum/ezgallery.php on line 295
Notice: Undefined index: page in /home/user/public_html/forum/ezgallery.php on line 297


User Galleries (user list page)
Notice: Undefined index: page_title in /home/user/public_html/forum/inc/ezgallery.lib.php on line 530

I'll PM you with login info to the site.

thanks for your support!!
Daryl
Reply
#6
Posted 5.5.2a which should help with those.
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#7
yes, no more error messages.  I appreciate your support in fixing these issues.  

thank you!
Daryl
Reply
#8
Awesome, glad to help
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#9
I noticed this one error but it only appears if I'm logged into the forum as an administrator.  Regular users do not see this error.

It's also only visible in User Galleries.  I upgraded to 5.5.5 and still get the error as described.

Code:
Notice: Undefined index: video_addon in /home/user/public_html/forum/ezgalleryuser.php on line 675


Since its just when admins are logged in, its lowest priority.  I just wanted to let you know its there.

thanks!
Daryl
Reply
#10
Check if that line is the following:

if (!empty($context['video_addon']))
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)