Uncaught TypeError in Admin Hooklist

Open to all! Ask other shopowners for help.
Post Reply
Denzel
Member
Posts: 87
Joined: Sat Oct 31, 2020 7:22 pm
Phoenix Version:
Has thanked: 9 times
Been thanked: 15 times

Uncaught TypeError in Admin Hooklist

Post 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 ?


Join The Code Co-op to get access to your library in the Code Co-op Forum
Denzel
Member
Posts: 87
Joined: Sat Oct 31, 2020 7:22 pm
Phoenix Version:
Has thanked: 9 times
Been thanked: 15 times

Re: Uncaught TypeError in Admin Hooklist

Post 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
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Uncaught TypeError in Admin Hooklist

Post by ecartz »

Denzel
Member
Posts: 87
Joined: Sat Oct 31, 2020 7:22 pm
Phoenix Version:
Has thanked: 9 times
Been thanked: 15 times

Re: Uncaught TypeError in Admin Hooklist

Post by Denzel »

Ah, nice :) Works again TY !


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply