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.

Comments

mikeytown2’s picture

Project: Link checker » HTTP Parallel Request & Threading Library
Version: 7.x-1.x-dev » 7.x-1.9

Following 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?

mikeytown2’s picture

Project: HTTP Parallel Request & Threading Library » Link checker
Version: 7.x-1.9 » 7.x-1.x-dev

Luckily 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.

Anonymous’s picture

Version: 7.x-1.x-dev » 7.x-1.0

I am using Link Checker 7.x-1.0, so am updating the Version associated with this bug report.

hass’s picture

Version: 7.x-1.0 » 7.x-1.x-dev

moving to DEV

hass’s picture

Project: HTTP Parallel Request & Threading Library » Link checker
Version: 7.x-1.9 » 7.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new974 bytes

Patch attached.

hass’s picture

Missed the changelog entry.

Status: Needs review » Needs work
hass’s picture

Status: Needs work » Needs review

This applies all cleanly. Broken bot.

hass’s picture

hass’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.