Adriano Faria Posted April 8 Posted April 8 (edited) I got the following error when I tried to restore a content item from an app that doesn't extends the \IPS\Content\Searchable: Quote TypeError thrown with message "IPS\Content\Search\Mysql\_Index::index(): Argument #1 ($object) must be of type IPS\Content\Searchable, IPS\myapp\MyItem given, called in C:\wamp64\www\47x\system\Content\Content.php on line 1282" Stacktrace: #8 TypeError in C:\wamp64\www\47x\system\Content\Search\Mysql\Index.php:55 #7 IPS\Content\Search\Mysql\_Index:index in C:\wamp64\www\47x\system\Content\Content.php:1282 #6 IPS\_Content:restore in C:\wamp64\www\47x\system\Content\Content.php:1109 #5 IPS\_Content:modAction in C:\wamp64\www\47x\applications\core\extensions\core\ModCp\Deleted.php:117 #4 IPS\core\extensions\core\ModCp\_Deleted:modaction in C:\wamp64\www\47x\applications\core\extensions\core\ModCp\Deleted.php:50 #3 IPS\core\extensions\core\ModCp\_Deleted:manage in C:\wamp64\www\47x\applications\core\modules\front\modcp\modcp.php:114 #2 IPS\core\modules\front\modcp\_modcp:manage in C:\wamp64\www\47x\system\Dispatcher\Controller.php:118 #1 IPS\Dispatcher\_Controller:execute in C:\wamp64\www\47x\system\Dispatcher\Dispatcher.php:153 #0 IPS\_Dispatcher:run in C:\wamp64\www\47x\index.php:13 Thank you. Edited April 8 by Adriano Faria teraßyte and Brian Correll 2
Recommended Posts