Hello,
I don't know if this would be a "bug" just yet. After moving a live site to a local test server, getting things running without errors, then activating a new module (views attach), I started seeing this message:
- warning: Attempt to modify property of non-object in C:\wamp\www\nationalspacesymposiumorg2010\sites\all\modules\date\includes\date_plugin_display_attachment.inc on line 24.
- warning: Attempt to modify property of non-object in C:\wamp\www\nationalspacesymposiumorg2010\sites\all\modules\date\includes\date_plugin_display_attachment.inc on line 25.
- warning: Attempt to modify property of non-object in C:\wamp\www\nationalspacesymposiumorg2010\sites\all\modules\date\includes\date_plugin_display_attachment.inc on line 26.
- warning: Attempt to modify property of non-object in C:\wamp\www\nationalspacesymposiumorg2010\sites\all\modules\date\includes\date_plugin_display_attachment.inc on line 28.
- warning: Attempt to modify property of non-object in C:\wamp\www\nationalspacesymposiumorg2010\sites\all\modules\date\includes\date_plugin_display_attachment.inc on line 29.
- warning: Attempt to modify property of non-object in C:\wamp\www\nationalspacesymposiumorg2010\sites\all\modules\date\includes\date_plugin_display_attachment.inc on line 30.
- warning: Attempt to modify property of non-object in C:\wamp\www\nationalspacesymposiumorg2010\sites\all\modules\date\includes\date_plugin_display_attachment.inc on line 31.
- user warning: Table 'nss2010test.cache_admin_menu' doesn't exist
query: SELECT data, created, headers, expire, serialized FROM cache_admin_menu WHERE cid = 'admin_menu:1:en' in C:\wamp\www\nationalspacesymposiumorg2010\includes\cache.inc on line 26.
Of course this is slightly different as I tried upgrading to an alpha version to see if that fixed the issue (I think the last part is new). This was after I turned off views attach module, and not seeing the errors disappear. I see the messages on every page when logged in. They don't seem to affect anything other than taking up a lot of space, being big and red.
I'm not sure quite where to start troubleshooting. Is it from moving the site to local, adding a new module, or something else?
Thanks much for your advice in advance.
Chris
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | ...Attempt to modify property of non-object... | 222.94 KB | owntheweb |
Comments
Comment #1
owntheweb commentedOK, after a fresh start, I re-downloaded the original files/database from the website to my local server. Without installing anything new, I start seeing the error after running update.php on my local server (see attached). My guess is that it's a local server/migration issue.
It's a bit simpler now that I haven't tried updating or activating any modules this round. Do you see anything I can fix?
Thanks again,
Chris
Comment #2
dave reidMost of your errors are coming from date.module. The last one in your original post was probably solved after the cache_admin_menu table was added via the update script.
Comment #3
arlinsandbulte commentedDuplicate of #549884: PHP 5.3 issue - Attempt to modify property of non-object (Date module)