Tagged: ALB, fatal error, members, PHP8
Hello,
i created some roles with Members plugin, and i use Lock Advanced Layout Builder option to let non admin role manage contents but not original layout
At the begining everything worked fine but now editing a page or a post give them a critival error :
Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “avia_disable_alb_drag_drop_mod” not found or invalid function name in /home/cnun4154/public_html/wp-includes/class-wp-hook.php:324
Probably a PHP 8.1 pb.
5.6.10
Hi,
The function in your error message is not a core theme function, maybe it’s something you have added to a child theme?
Best regards,
Rikard
Hi,
you are right, sorry, i didn’t remember i used the trick https://kriesi.at/support/topic/alb-does-not-work-with-user-role-editor/ in my child theme
and as my fatal error disapeared when unchecking the Lock Advanced Layout Builder option i thought of a pb.
it’s fine
Thank you