teaminmedias-pluswerk / ke_search

Search Extension for TYPO3 Content Management System, including faceting search functions.
https://extensions.typo3.org/extension/ke_search/
GNU General Public License v3.0
35 stars 62 forks source link

Fatal error: TYPO3\CMS\Scheduler\Scheduler::cleanExecutionArrays(): The script tried to execute a method or access a property of an incomplete object. #384

Closed plojewski closed 2 years ago

plojewski commented 3 years ago

Hi, Typo3 9.5.23, ke_search 3.3.1. When I click on Scheduler there is an error:

Fatal error: TYPO3\CMS\Scheduler\Scheduler::cleanExecutionArrays(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "tx_kesearch_indexertask" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in /xxx/typo3/sysext/scheduler/Classes/Scheduler.php on line 125

Could you help please?

christianbltr commented 3 years ago

Unfortunately I cannot reproduce this in my test environment using TYPO3 9.5.23, ke_search 3.3.1, installed with composer.

Did you use composer to install the environment?

upputter commented 3 years ago

Same problem here after upgrade from TYPO3 v8.7.32 (ke_search v2.8.3) to TYPO3 v9.5.24 (ke_search v3.4.2).

We could remove the error message by deleting the ke_search scheduler task from the table tx_scheduler_task.

christianbltr commented 3 years ago

@upputter Does this problem come up again after re-adding a new scheduler task? Or did it only occur once after upgrading?

@plojewski Did you also upgrade from TYPO3 8 to 9? Does deleting the scheduler task and re-adding it in TYPO3 9 help?

christianbltr commented 2 years ago

I'm closing this here. Feel free to open another issue at https://github.com/tpwd/ke_search/issues it is still an issue for you.