![]() |
|
Thread Tools |
#1
|
||||
|
||||
Cannot use a scalar value as an array
Since updating one of my forums to vb3.8.11 I've been receiving the following error in my logs.
Any ideas on what the cause could be?
__________________
Better VB.org search No members have liked this post.
|
#2
|
||||
|
||||
My best guess is you have an undefined variable in a modification.
Are you using a custom search mod or tool? You should define the variable. $var = array(); No members have liked this post.
|
#3
|
||||
|
||||
Originally Posted by In Omnibus
I'm not using any search mods.![]()
Thanks
__________________
Better VB.org search No members have liked this post.
|
#4
|
|||
|
|||
Id suggest looking for any old plugins you had installed prior to the upgrade, example is sphinx search plugin for vb 3.x.x & remove them.
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. The following members like this post: In Omnibus
|
#5
|
||||
|
||||
I've looked through all the plugins and can't find any that interact with search, I'll keep digging around and try and find what action causes the errors.
__________________
Better VB.org search No members have liked this post.
|
#6
|
||||
|
||||
Id chk forums with passwds, make sure its not +++++ing about a forum with a old passwd & a char it has in it. Any getdaily or getnew code/hacks you installed etc etc
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#7
|
||||
|
||||
No forums with passwords and I've just checked all plugins for getdaily & getnew but didn't turn anything up.
The error only seems to happen a couple of times a day but when it does I get 15-25 errors in less than a second, I'd checked crons but nothing matches the times and I've clicked just about everywhere I can on the site that triggers a search, but nothing has started it. The error really isn't a problem, I just like having clean log files so I'll keep plugging away at finding the cause.
__________________
Better VB.org search No members have liked this post.
|
#8
|
||||
|
||||
Originally Posted by z3r0
Your PHP error log should tell you the script causing the error if you have the errors set to verbose output. ![]()
If you open the file in a text editor what is the content of line 2523 per the error you originally posted? C:\root\Forums\mysite\search.php on line 2523 No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 14:40.