Closed (fixed)
Project:
Lexicon
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
12 May 2011 at 19:49 UTC
Updated:
7 Jun 2011 at 08:51 UTC
I had several
PHP Error: Creating default object from empty value ...
this is due to my config in php strict mode, and the php object used not declared, so I added several declaration in lexicon.pages.inc
line 69:
$lexicon_overview = new stdClass();
$lexicon_section = new stdClass();
line 214:
$lexicon_alphabar = new stdClass();
As seen here:
http://www.trash-factor.com/content/php-error-creating-default-object-em...
Regards,
Thx for the lexicon module it's realy useful !
Comments
Comment #1
marty2081 commentedHi Nico,
Thanks for the tips. I've added the object declarations. I'll try to remember to do this when creating new objects. It's in the dev version tomorrow.
Cheers,
Martijn