Bug vBreview Error on Install init_startup.php on line 17

I just fully nuked my vB 4.2.5 to try to install vBReviews as it gave me an error with some other addons (From here) already added), and a customt theme. I am getting the same error message with a fresh copy of vBulletin 4.2.5. The below error on line 17 ofg the init_startup.php shows when trying to add the product, but afterwords it totally makes the forum/admincp totally unusable with this error message too.

What is interesting is the forum works fine, and I was even able to post a review on something, so the issue seams to be isolated to the admincp link.

Does anyone know how to fix this. I have also posted line 17 of the php for context.

This is the error I am getting when trying to add product & then going forward for the admincp portal
Error: Using $this when not in object context in ..../dbtech/review/hooks/init_startup.php on line 17


This is line 17: if (is_object($this))
 
Hi, sorry for the delay in getting back to you. What version of PHP are you running? vB4 I believe doesn't work with newer than 7.2 or 7.4 - I don't recall as it's been half a decade since I switched :D
 
I am using PHP 7.2, my host only supports a handful, what's odd is I need to use PHP 5.2 to install, but 7.2 to get the theme and everything to load correctly. Everthing else so far seams to work fine on 7.2 (I am using Shop, Activity, and Credits) but Review seams to not work.
 
I've applied a fix to v1.0.8pl2 (the latest version accessible by your license) which should hopefully resolve this, as it seems to be working in Shop 😅
 

Legacy DragonByte Reviews

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