PDA

View Full Version : edit post>go advanced>save error


SPEEDKILLZ
01-26-2014, 03:53 AM
When editing a post and clicking go advanced and when you save this error shows in the upper left hand side of the screen

only variables should be passed by reference .../editpost.php line 323

ozzy47
01-26-2014, 09:31 AM
Have you tried with all mods disabled?
What vB version and PHP version are you running?

SPEEDKILLZ
01-26-2014, 05:30 PM
Have you tried with all mods disabled?
What vB version and PHP version are you running?


Yes i have Ozzy.

VB 4.2.2
Php 5.4.22

ozzy47
01-26-2014, 07:59 PM
Make a quick file edit:

In class_core.php locate lines 5683-5685 (class_core.php is in the 'includes' folder)

case E_NOTICE:
// Just ignore these completely //
break;

Replace with this;

case E_NOTICE:
case E_STRICT:
case E_DEPRECATED:
// Just ignore these completely //
break;

SPEEDKILLZ
01-26-2014, 08:13 PM
Seemed to of fixed the issue Ozzy Thanks.

But what was the reason for it?

ozzy47
01-26-2014, 08:24 PM
Just a warning due to PHP versions, nothing to worry about at this time.