New issue with modrewriterequestgenerator.class.php

New issue with modrewriterequestgenerator.class.php

Postby Mischa on Tue Sep 22, 2015 8:54 am

Hola.
Message from server when loading newest LifeType version blog (lifetype-1.2.12_r7211), almost every page, in the top:
Code: Select all
 Deprecated: Assigning the return value of new by reference is deprecated in /[web folder for lifetype]/class/net/modrewriterequestgenerator.class.php on line 299


Line in question:
Code: Select all
$blogs =& new Blogs();


Happened on a web hotel running PHP: 5.3.29

What to do?
Last edited by Mischa on Sat Oct 24, 2015 9:42 am, edited 1 time in total.
Using lifetype-1.2.12 pretty standard config
Mischa
 
Posts: 39
Joined: Fri Jun 20, 2008 9:27 am
Location: Åland Islands
LifeType Version: 1.2.12

Re: New issue with modrewriterequestgenerator.class.php

Postby Mischa on Tue Sep 22, 2015 3:19 pm

Mysteriously, problem is gone.
I could have missed clearing a cache, either in my browser or the temp files on server...
Strange.
Using lifetype-1.2.12 pretty standard config
Mischa
 
Posts: 39
Joined: Fri Jun 20, 2008 9:27 am
Location: Åland Islands
LifeType Version: 1.2.12

Re: New issue with modrewriterequestgenerator.class.php

Postby Mischa on Sat Oct 24, 2015 9:43 am

But the message DOES appear on all the back end admin pages... hmmm.
Using lifetype-1.2.12 pretty standard config
Mischa
 
Posts: 39
Joined: Fri Jun 20, 2008 9:27 am
Location: Åland Islands
LifeType Version: 1.2.12

Re: New issue with modrewriterequestgenerator.class.php

Postby jondaley on Thu Dec 17, 2015 10:29 pm

Oops - didn't notice this post before. You can just remove the & and you should be fine.
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Re: New issue with modrewriterequestgenerator.class.php

Postby Mischa on Mon Dec 21, 2015 1:14 pm

jondaley wrote:Oops - didn't notice this post before. You can just remove the & and you should be fine.

Worked like a charm!
Merry Christmas and be love, peace and happiness. <3
Using lifetype-1.2.12 pretty standard config
Mischa
 
Posts: 39
Joined: Fri Jun 20, 2008 9:27 am
Location: Åland Islands
LifeType Version: 1.2.12


Return to Other Problems

cron