Title: php error in wp-admin
Last modified: February 23, 2021

---

# php error in wp-admin

 *  Resolved [tarfandgram](https://wordpress.org/support/users/tarfandgram/)
 * (@tarfandgram)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-error-in-wp-admin-2/)
 * hi
    I get this error in the admin error log, what’s the problem? `PHP Warning:
   call_user_func_array() expects parameter 1 to be a valid callback, class 'ElementsKit\
   Libs\Framework\Attr' does not have a method 'register_sub_menus' in /home/dbname/
   public_html/wp-includes/class-wp-hook.php on line 287`

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [benjirahmed](https://wordpress.org/support/users/benjirahmed/)
 * (@benjirahmed)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-error-in-wp-admin-2/#post-14093633)
 * Hey [@tarfandgram](https://wordpress.org/support/users/tarfandgram/) ,
 * Can you please tell us when you are getting this warning? Like, during the use
   of nav menu widget or any other widget of ElementsKit? Please help us to reproduce
   this warning on our end as we couldn’t reproduced this on our development environment.
 * Also it seems you have opened another [support thread](https://wordpress.org/support/topic/does-not-have-a-method-register_sub_menus/)
   with same problem. Please close it and follow this thread for further instructions.
 * Regards,
    Benjir
 *  Thread Starter [tarfandgram](https://wordpress.org/support/users/tarfandgram/)
 * (@tarfandgram)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-error-in-wp-admin-2/#post-14094012)
 * in every loading of the site per user
    in wp-admin/error_log 300 time per day
 * or in “query monitor” php errors
 * its for admin menu and wordpress dashboard ( not front end , user side )
 *  [benjirahmed](https://wordpress.org/support/users/benjirahmed/)
 * (@benjirahmed)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-error-in-wp-admin-2/#post-14100656)
 * Hi [@tarfandgram](https://wordpress.org/support/users/tarfandgram/) ,
 * We tried to reproduce the issue on our development enviroment from query monitor
   but couldn’t. Can you please open a support ticket at our [support center](https://wpmet.com/support-ticket-form/)
   referring this support thread? Or you can help us to reproduce the issue on our
   end.
 * Waiting for your valuable response and we are always here to help you.
 * Regards,
    Benjir

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘php error in wp-admin’ is closed to new replies.

 * ![](https://ps.w.org/elementskit-lite/assets/icon-256x256.gif?rev=2518175)
 * [ElementsKit Elementor Addons – Advanced Widgets & Templates Addons for Elementor](https://wordpress.org/plugins/elementskit-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementskit-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementskit-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/elementskit-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementskit-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementskit-lite/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [benjirahmed](https://wordpress.org/support/users/benjirahmed/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/php-error-in-wp-admin-2/#post-14100656)
 * Status: resolved