Page 1 of 1

Uncaught TypeError in Admin Hooklist

Posted: Tue Jul 26, 2022 8:47 pm
by Denzel
I've found a
Fatal error: Uncaught TypeError: get_class_vars(): Argument #1 ($class) must be a valid class name, hook_admin_orders_zz_message_update given in /admin/modules_hooks.php:142 Stack trace: #0 /admin/modules_hooks.php(142): get_class_vars('hook_admin_orde...') #1 {main} thrown in /admin/modules_hooks.php on line 142

in the list of installes hooks in admin. The errormessage is in the same line with
orders Orders::message_update updateOrderAction hook.

Maybe this is an old, no longer needed thing? I have just updated from v1.0.8.1 to 1.0.8.16.
Any ideas ?

Re: Uncaught TypeError in Admin Hooklist

Posted: Tue Jul 26, 2022 8:52 pm
by Denzel
seems, that this is located inside the hooks table in the db:

86 admin orders updateOrderAction zz_message_update Orders::message_update

was added with v1.0.8.6 update

Re: Uncaught TypeError in Admin Hooklist

Posted: Tue Jul 26, 2022 9:45 pm
by ecartz

Re: Uncaught TypeError in Admin Hooklist

Posted: Tue Jul 26, 2022 9:51 pm
by Denzel
Ah, nice :) Works again TY !