View Full Version : PHP Warning: Cannot use a scalar value as an array in ..../search.php on line 2517
SHORTEDBOARD
03-06-2016, 03:17 AM
im asking what of this error ,always show this when i click search botton
always on the top ,
PHP Warning: Cannot use a scalar value as an array in ..../search.php on line 2517
https://vborg.vbsupport.ru/external/2016/03/19.jpg
.
.
.
.
please help me to fixed this error on my vbb site .thanks in advance .
MarkFL
03-06-2016, 03:24 AM
What does it say on line 2517 of your search.php file?
SHORTEDBOARD
03-06-2016, 11:27 AM
What does it say on line 2517 of your search.php file?
please me .i am newbie from vbb world how to fixed this error please help step by step
thanks you
MarkFL
03-06-2016, 12:28 PM
Well, that's what I'm trying to do...different versions of vB have different files, and so in order to help, I need to know what line of code you have at that location.
What version of vBulletin are you using?
SHORTEDBOARD
03-07-2016, 12:58 AM
Well, that's what I'm trying to do...different versions of vB have different files, and so in order to help, I need to know what line of code you have at that location.
What version of vBulletin are you using?
Powered by vBulletin? Version 3.8.9
Copyright ?2000 - 2016, vBulletin Solutions, Inc.
here is vbb version im use
thanks
MarkFL
03-07-2016, 01:09 AM
Okay, that is a version to which I have access, and I find the line of code at that location is:
$lastread["$forumid"] = max($forum['forumread'], (TIMENOW - ($vbulletin->options['markinglimit'] * 86400)));
Now, what do the URLs look like for those links?
For example, on my vB 3.8.9 dev site, they look like:
New Posts: http://*****/search.php?do=getnew
Search: http://*****/search.php
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.