• Support will be limited until May 8th, as I will be out of the office travelling. Thank you for your patience and understanding.

Bug Wrong datatype for second argument in dbtech/vbnominate/includes/class_profile.php

Status
Not open for further replies.

djFarsang

Customer
When Twisted Dark Blue Skin was installed in my site, after pressed on any user profiles, there are warning of
Code:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/dbtech/vbnominate/includes/class_profileblock.php on line 102

03-05-2555 09-10-14.png
 
Last edited:
Sorry, I uploaded a hotfix to the package to fix that.
You can download the package and upload the files again or just modify

dbtech/vbnominate/includes/class_profileblock.php

Find
PHP:
if (in_array($data_data['nomnom_id'], $winner_ids))
Replace with
PHP:
if (in_array($data_data['nomnom_id'], (array)$winner_ids))

and Find

PHP:
if (in_array($data_data['nomnom_id'], $nominated_ids))
Replace with
PHP:
if (in_array($data_data['nomnom_id'], (array)$nominated_ids))
 
That seems to be a skin problem as the other skins work fine, not sure what's causing it.
 
Status
Not open for further replies.

Legacy vBNominate

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