My call stack error trace points to:
- call_user_func_array(_linkchecker_check_links, Array ())
at:
- /sites/all/modules/contrib/httprl/httprl.module:2630
A 2-part screen capture of the full trace is attached, fyr.
This is new, I believe, with 1.9.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | linkchecker_1901014+ERROR+Cannot+use+object+of+type+stdClass+as+array.patch | 1.34 KB | hass |
| #6 | linkchecker_1901014+ERROR+Cannot+use+object+of+type+stdClass+as+array.patch | 1.35 KB | hass |
| #5 | linkchecker_1901014+ERROR+Cannot+use+object+of+type+stdClass+as+array.patch | 974 bytes | hass |
| trace part 2.png | 1.2 MB | Anonymous (not verified) | |
| trace part 1.png | 1.07 MB | Anonymous (not verified) |
Comments
Comment #1
mikeytown2 commentedFollowing the trace via images is sorta hard to do. Looking at it, the code path appears to be jumping all over the place and not following the "normal path".
It starts with
call_user_func_array('httprl_async_page', array())
httprl_async_page()
menu_execute_active_handler()
block_custom_block_save()
UpdateQuery()->block_custom_block_save()
In reality the 3 should be the reverse order like so
menu_execute_active_handler()
call_user_func_array('httprl_async_page', array())
httprl_async_page()
And these 2 seem 100% odd in the location of the call stack #4 & #5
block_custom_block_save()
UpdateQuery()->block_custom_block_save()
Can you repeat this error?
Comment #2
mikeytown2 commentedLuckily on your other issue the error line # is exposed for this bug report. #1901018: ERROR: __clone method called on non-object
This is the error: "Cannot use object of type stdClass as array modules/block/block.module:550"
Bug appears to be inside of the link checker module inside of the "_linkchecker_status_handling" function. The $edit array passed into block_custom_block_save() needs to be an array but in this case it is an object.
Looking at the code path in question it appears to use this as an object while core is expecting an array for that function.
http://drupalcode.org/project/linkchecker.git/blob/f8ce2303ad92688868514...
Moving this bug report to the linkchecker module.
Comment #3
Anonymous (not verified) commentedI am using Link Checker 7.x-1.0, so am updating the Version associated with this bug report.
Comment #4
hass commentedmoving to DEV
Comment #5
hass commentedPatch attached.
Comment #6
hass commentedMissed the changelog entry.
Comment #8
hass commentedThis applies all cleanly. Broken bot.
Comment #9
hass commentedNew patch
Comment #10
hass commentedhttp://drupalcode.org/project/linkchecker.git/commit/ee28941