I do not know what this module does, i have installed this module as dependence of configuration module
I got this errors the mae are repeated 30-40 times removed the duplicates
Notice: Trying to get property of non-object in xautoload_DrupalRegistrationPlan_PHP53->registerExtensionFilepaths() (line 35 of H:\wamp\www\sites\all\modules\xautoload\lib\DrupalRegistrationPlan\PHP53.php).
Notice: Trying to get property of non-object in xautoload_DrupalRegistrationPlan_PHP53->registerExtensionFilepaths() (line 36 of H:\wamp\www\sites\all\modules\xautoload\lib\DrupalRegistrationPlan\PHP53.php).
Notice: Trying to get property of non-object in xautoload_DrupalRegistrationPlan_PHP53->registerExtensionFilepaths() (line 36 of H:\wamp\www\sites\all\modules\xautoload\lib\DrupalRegistrationPlan\PHP53.php).
Notice: Trying to get property of non-object in xautoload_DrupalRegistrationPlan_PHP53->registerExtensionFilepaths() (line 37 of H:\wamp\www\sites\all\modules\xautoload\lib\DrupalRegistrationPlan\PHP53.php).
Comment | File | Size | Author |
---|---|---|---|
#8 | xautoload-7.x-3.x-DrupalRegistrationPlan-1925204-8.patch | 3.54 KB | donquixote |
#4 | xautoload-7.x-3.x-pdo-fetch-obj-1925204-4.patch | 693 bytes | donquixote |
Comments
Comment #1
donquixote CreditAttribution: donquixote commentedInteresting! Looks like you are on Windows..
Are you on the newest -dev version?
Comment #2
donquixote CreditAttribution: donquixote commentedI need to know which exact version you are on. Then I can help.
Comment #3
donquixote CreditAttribution: donquixote commentedOk, I get an idea what could be the cause.
We assume that $info is an object. But what if it is not?
Here is where the extensions are loaded from the db:
On my machine,
db_query(..)->fetchAll()
returns an array of objects (stdClass).But maybe this is not consistent across machines. Maybe it depends on a system setting?
http://php.net/manual/en/pdostatement.fetchall.php
Do you have a little bit of programming experience? Can you install devel module, and dpm() the $extensions array?
Comment #4
donquixote CreditAttribution: donquixote commentedhttp://www.php.net/manual/en/pdostatement.fetch.php
We need PDO::FETCH_OBJ ..
Can you try the patch?
Comment #5
kaizerking CreditAttribution: kaizerking commentedYes, Windows wamp server and,I am on latest dev version of xautoload,
I have applied the patch, is there any result expected in the form of PDO message?
I dont get any error messages now
Comment #6
kaizerking CreditAttribution: kaizerking commentedSorry: the error still exists
Comment #7
donquixote CreditAttribution: donquixote commentedxautoload is supposed to just silently do its job, and not show any warnings.
Can you look into the code and copy the lines that cause the error, and paste them here?
Also, could you do a dpm() on the $extensions array? I wanna see if there is anything in there that is not an object.
Comment #8
donquixote CreditAttribution: donquixote commentedI found a different possible reason for the issue. Can you try?
Comment #9
kaizerking CreditAttribution: kaizerking commentedHi thanks for this quick response, How ever I only require this as dependent to configuration management,at the moment i have set this aside, as configuration management only works with php 5.3.my hosting isn't agreeing to upgrade from 5.2 to php 5.3
Comment #10
donquixote CreditAttribution: donquixote commentedAs you opened the issue, it would be sweet if you could test it.
Anyway, there was some stuff that obviously needed to be fixed, so I committed and pushed the changes.
(mostly what is in the patch in #9, but some minor addition)
I consider this fixed, until someone steps up and proves me otherwise..