Support » Plugin: Add Admin JavaScript » crashed WordPress 4.5

  • It crashed WordPress 4.5 by:

    Fatal error: Call to undefined function get_userdata() in /public_html/wp-includes/user.php on line 458

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    @reuterpl: Hi,

    A support thread would have been more appropriate for us to discuss looking into the issue together (and given me the chance to rectify the issue if was indeed caused by this plugin).

    That said, how were you able to deduce that this plugin is at fault? The line of code referenced by the error message is for WordPress’s get_user_option() function which is not used directly or indirectly by the plugin.

    Add the error is complaining that the function get_userdata() is undefined, but that’s defined in wp-includes/pluggable.php and should be available. Sounds like something else is going on.

    Can you provide more details? Was it a specific page on your site causing the error? Have you tried switching to one of the default themes and deactivating all plugins and then activating *only* Add Admin JavaScript and testing things? (And then activate each other plugin in succession and test as you go).

    Thanks.

    Hi Scott,

    I tested only one plugin “Admin JavaScript” and after installing it my WordPress crashed so I did not have access to admin page. I asked my hosting provider to recover back up from yesterday so eventually it fixed my problem.

    Thanks for reply!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘crashed WordPress 4.5’ is closed to new replies.