cancel
Showing results for 
Search instead for 
Did you mean: 

Cron error: Call to a member function setData() on boolean

Cron error: Call to a member function setData() on boolean

Hi,

 

We use Magento 2.3

 

Every night our cron fails. I suspect it happens when the catalogrule_apply_all cron is executed. After that we get a message than one of the indexes is invalid, and it's alwas the Product fulltext search index.

 

In the system.log I find error's like these after I manually started the catalogrule_apply_all cron.

 

[2019-03-04 15:18:06] main.INFO: Cron Job catalogrule_apply_all is successfully finished. Statistics: {"sum":0.076669931411743,"count":1,"realmem":2097152,"emalloc":369648,"realmem_start":81788928,"emalloc_start":74325808} [] []
[2019-03-04 15:18:07] main.INFO: 12 cron jobs were cleaned [] []
[2019-03-04 15:18:07] main.INFO: 34 cron jobs were cleaned [] []
[2019-03-04 15:18:08] main.INFO: Cron Job mst_email_handle_events is run [] []
[2019-03-04 15:18:08] main.INFO: Cron Job mst_email_handle_events is successfully finished. Statistics: {"sum":0.015475988388062,"count":1,"realmem":2097152,"emalloc":249480,"realmem_start":58720256,"emalloc_start":57955792} [] []
[2019-03-04 15:18:08] main.INFO: Cron Job mst_email_send_queue is run [] []
[2019-03-04 15:18:08] main.INFO: Cron Job mst_email_send_queue is successfully finished. Statistics: {"sum":0.010499954223633,"count":1,"realmem":0,"emalloc":177648,"realmem_start":60817408,"emalloc_start":58208744} [] []
[2019-03-04 15:18:08] main.INFO: Cron Job consumers_runner is run [] []
[2019-03-04 15:18:08] main.INFO: Consumer "async.operations.all" skipped as required connection "amqp" is not configured. Unknown connection name amqp [] []
[2019-03-04 15:18:08] main.INFO: Cron Job consumers_runner is successfully finished. Statistics: {"sum":0.003087043762207,"count":1,"realmem":2097152,"emalloc":36480,"realmem_start":58720256,"emalloc_start":58221088} [] []
[2019-03-04 15:18:08] main.INFO: 21 cron jobs were cleaned [] []
[2019-03-04 15:18:08] main.INFO: Cron Job indexer_reindex_all_invalid is run [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:13] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:14] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:14] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:14] main.ERROR: Emulation nesting omgeving is niet toegestaan. [] []
[2019-03-04 15:18:14] main.CRITICAL: Invalid template file: 'Magento_Review::helper/summary_short.phtml' in module: 'Magento_Review' block's name: '' [] []
[2019-03-04 15:18:14] main.ERROR: Cron Job indexer_reindex_all_invalid has an error: Call to a member function setData() on boolean. 

 

Does anyone have an idea what's going on?

 

Thank you.

1 REPLY 1

Re: Cron error: Call to a member function setData() on boolean

Did you ever find out what caused this? Have exactly the same issue