• Support will be limited until May 1st, as I will be out of the office travelling. Thank you for your patience and understanding.
Status
Not open for further replies.

Mick

Customer
One of my members posted this error he got when he logged in :)

Warning: Only variables should be passed by reference in ..../dbtech/vboptimise/includes/class_vboptimise.php on line 688

I am on 2.6.0b4 version: (your form will not let me post the b4 on the end).

PHP:
	protected static function runtime_scripts()
	{
		static $scripts = false;

		if (!$scripts)
		{
			$scripts = @get_included_files();

			if (!is_array($scripts))
			{
				$scripts = array();
			}

			foreach ($scripts as $key => $value)
			{
				$scripts[$key] = array_pop(explode('/', str_replace('\\', '/', $value)));
			}
		}

		return $scripts;
	}

LINE 688:
$scripts[$key] = array_pop(explode('/', str_replace('\\', '/', $value)));


Please see this page if you are a guest
DigitalWorldz Technology Forum - Satellite, television, consoles, community
Regards
Mick
 
Last edited:
Sorry had to disable VBOptimise that was the only way to get rid of errors,

have a look at this attachment for more info:


VBoptimise-bug-variable.webp
 
I think this was just a FLUSH CACHE ISSUE.

What was strange is that I restarted PHP with the service restart command, and that updated all the file so it was 4.2.2.... but it seems that command did not clear APC???

So I flushed vb optimise in the flush cache button and now all seems ok.

Sorry to trouble you

Mick
 
I believe this has already been hotfixed, if you re-download and re-upload the product (no need to re-import the XML) this should not return :)
 
Status
Not open for further replies.

Similar threads

Legacy vB Optimise

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