![]() |
Unfamiliar PHP Error Message
http://www.cogonline.net/forums/prof...ditattachments
http://www.cogonline.net/forums/misc.php?do=bbcode Code:
Fatal error: Cannot use assign-op operators with overloaded objects nor string offsets in... |
Looks like it has something to do with the smiles.
|
Even when viewing my attachments list?
|
If there is a bbcode in it, from what I can tell.
|
Quote:
|
I do not know, I am just surmising on what I have read about that error, http://www.vbulletin.com/forum/forum...ow-fatal-error
--------------- Added [DATE]1387135292[/DATE] at [TIME]1387135292[/TIME] --------------- Actually now that I think about it, I am looking at code for vB4. :( What is the code in your misc.php file around line 482? |
I was just looking at that. For profile.php its:
PHP Code:
PHP Code:
|
Then I would have to guess it has something to do with the help for the bbcodes.
|
My guess is that one of your plugins is using $template as a string, so it's interfering with some vb code that uses it as an array. If you don't know which one, you might want to try my "search in plugins" mod to find it.
|
Well, after going through all products and disabling one by one (or five by five, rather) nothing seemed to stop the error. Yet disabling hooks does. Thanks for the search plugin mod. I haven't found anything yet, but I'll keep looking.
|
Hmm...well, I guess one possibility is that the "search plugins" mod wouldn't find it if the problem code is in an included file. And if the code is in more than one plugin (or included by more than one) then you might not find it by disabling plugins one by one (or five by five). (Edit:...oh, unless you ultimately disabled them all, then I guess it should have gone away at some point).
Of course it could also just be that I'm wrong. |
For http://www.cogonline.net/forums/misc.php?do=bbcode
It is definitely from a plugin om the help_bbcodes_bbcode hook. That isn't a very commonly used hook in mods in my experience- see how many plugins you have on that hook, I would be surprised if it is more than 1. If it is one, the problem is one line 24 of that plugin. |
Quote:
Quote:
|
Quote:
Did you try the plugin manager? Maybe it's a plugin that has the product set to "vbulletin" or something like that, so it's not disabled by disabling any product. |
Just tried that now on your suggestion, but none of those either. I'll just have to keep digging.
|
<span style="text-decoration: line-through">You went to the plugin manager in Admin CP (plugin not product), hit CTRL+F on the keyboard to bring up "Find on Page" in your browser, and pasted in:
help_bbcodes_bbcode And it didn't find anything? That is virtually impossible with the error message you are getting- so much so i'd ask are you sure you are in the right admincp?</span> Misread the code. |
Actually, I was using kh99's modification to search the plugins for the template name. But, no, nothing is using that hook, either. I don't know what to tell ya. :)
|
Well, the lines posted in post #7 seem to show that the problem is with template eval lines and not a hook. Also if the problem were in one of the misc_bbcode hooks, it wouldn't happen in profile.php. But they both use a $template array, so I still think that's your issue. I can reproduce the problem by creating a plugin using hook parse_templates and code:
Code:
$template = "test"; So maybe if you created a plugin using hook misc_bbcode_start and code like this: PHP Code:
Then go to the bbcode page, it might give you a clue about where it's being used (or if you never see that message, then I really am wrong). |
Quote:
|
All times are GMT. The time now is 07:17 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|