![]() |
Two errors after installing
I have two fairly big errors after I've installed (downloaded today)...and I searched the other thread but couldn't find either.
1. Every single post is duplicated. No matter what. If you make a post, you get the "this is a duplicate of one in the last XX seconds" message and get redirected to the thread...where you can see your post. 2. When I start a new thread and/or run the Mass Forum Settings, I get an error... Invalid Argument in foreach() in vbplaza_forumdata_start.php, line 21. ?????? Ok...I think I have a product conflict...I turned off another product, and that did it... Any ideas where I should start troubleshooting that other code? Which hook would be the most likely to call these sectons? (they share about 6 hooks) |
i have the same problem, when i try to apply the mass forum setting.
"Invalid Argument in foreach() in vbplaza_forumdata_start.php, line 21." what causes it? |
I had the Private Threads mod installed...when I disabled that, it works.
|
It was the Private Threads mod?
I'll look at it and see if I notice any issues that could cause the conflict. EDIT: I dont see any reasons it should conflict, but have you try to rebuild bitfields from vbPlaza Maintenance -> Rebuild Bitfields? That's the only way that the foreach could fail as its using something from includes/xml/bitfield_vbbuxplaza.xml that SHOULD be accessible. If it doesnt work by Rebuilding Bitfields, then reupload the includes/xml folder from vbPlaza and then run rebuild bitfields and it should be fixed. -CMX |
Yup, it was. https://vborg.vbsupport.ru/showthread.php?t=109096
I was able to debug it down to a plugin...it's not even one that shares a hook... In that product, it was the plugin that goes to hook location threadfpdata_start. I ended up turning that hook off, and everything was fine. Turned the hook off and on a few times...and then it got happy and now works. No clue in this world why, I didn't change any of the code at all. |
Odd, that doesnt make sense as that plugin only contains...
Code:
$this->validfields['privatethread'] = array(TYPE_STR, REQ_NO); -CMX |
I know...I couldn't figure it out either...but to troubleshoot...
I disabled all of the Private Threads plugins. vbPlaza worked fine. I then added them back in, one by one. As soon as I added that one back in, I started getting the duplicate posts & foreach error again. Took it back out, everything was fine. Added everything but that...everything fine. Makes no sense at all. |
In any case, the Mass Forum Settings I have changed in v1.5.1 to be released soon, and you should no longer get this problem when this version is released.
-CMX |
i've Rebuilding Bitfields and there is no more error.
|
Oh, thats an easy fix too if it works :)
-CMX |
All times are GMT. The time now is 06:21 AM. |
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:
|