You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DebugKit uses a Model called ToolbarAccess which extends directly from object. This produces an error when trying to call Model::Behaviors->attached():
Notice: Undefined property: ToolbarAccess::$Behaviors in C:\xampp\htdocs___\app\plugins\searchable\vendors\shells\build_search_index.php on line 157
Fatal error: Call to a member function attached() on a non-object in C:\xampp\ht
docs___\app\plugins\searchable\vendors\shells\build_search_index.php on
line 157
As a fix I added a line before searchable\vendors\shells\build_search_index.php line 157:
// If Searchable not attached or Model does not extend Model, skip
$Model = ClassRegistry::init($modelName);
if ( !is_a( $Model, 'Model' ) || !$Model->Behaviors->attached('Searchable')) {
continue;
}
The text was updated successfully, but these errors were encountered:
DebugKit uses a Model called ToolbarAccess which extends directly from object. This produces an error when trying to call Model::Behaviors->attached():
Notice: Undefined property: ToolbarAccess::$Behaviors in C:\xampp\htdocs___\app\plugins\searchable\vendors\shells\build_search_index.php on line 157
Fatal error: Call to a member function attached() on a non-object in C:\xampp\ht
docs___\app\plugins\searchable\vendors\shells\build_search_index.php on
line 157
As a fix I added a line before searchable\vendors\shells\build_search_index.php line 157:
The text was updated successfully, but these errors were encountered: