Bug Error When Viewing Gallery Notifications Page

Status
Not open for further replies.

bzcomputers

Customer
Recently upgraded to PHP 5.4.11 (my first try at 5.4) and of course I am starting to see errors pop up that didn't show in PHP 5.3.x throughout vBulletin 4 (not necessarily DBTech products) which I know does not officially support PHP 5.4.

One that I did come across associated with Dragonbyte Gallery Pro was this one below. I'm not sure if this shows up under PHP 5.3.x or not, or if you officially support PHP 5.4.x or not but figured I'd let you know anyway.

When viewing notifications page I get this:

Code:
Warning: array_multisort(): Argument #1 is expected to be an array or a sort flag in [path]/dbtech/gallery/actions/notifs.php on line 113
 
Thanks, I fixed it on your site.

For those that come across this before I release 1.2.6 or later

Open dbtech/gallery/actions/notifs.php

Find

PHP:
$comment_array    = array();
$image_array    = array();
$notifs_array    = array();

After Add

PHP:
$dateline        = array();
$rectype        = array();
 
Status
Not open for further replies.

Legacy DragonByte Gallery

vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
865
Customer rating
0.00 star(s) 0 ratings
Back
Top