WordPress.org

Ready to get started?Download WordPress

Forums

I am getting an error with newly created sites (11 posts)

  1. asshu
    Member
    Posted 4 years ago #

    I am getting this error for all newly created sub sites.But it's ok with the sites already created.Does any one have Idea about this.

    Fatal error: Call to undefined function wp_get_current_user() in /home/asshu/public_html/iliked.info/wp-includes/capabilities.php on line 1059

  2. dgilmour
    Member
    Posted 4 years ago #

  3. asshu
    Member
    Posted 4 years ago #

    I looked at that .@teamplaylotto suggested to rename all the plugins.
    But I have 78 plugins installed and I think it is critical to rename all of them .

    Is there any other way to resolve this issue ?

  4. Try renaming/turning off the plugins that aren't listed 3.0_OK.

    But really, no. With 78 plugins, that's likely to be it.

  5. asshu
    Member
    Posted 4 years ago #

    I am not sure If I follow

    But really, no. With 78 plugins, that's likely to be it.

  6. You have 78 plugins. What you said implied you did NOT want to rename/turn them off.

    The odds are ONE of them is causing the problem.

  7. But I have 78 plugins installed and I think it is critical to rename all of them .

    You rename the plugins folder itself. this turns them all off at once.

  8. asshu
    Member
    Posted 4 years ago #

    Thanks for your help.
    I have deleted the mu-plugins directory and renamed the plugins file as mu-plugins .

    All the plugins were disappeared and my sites Started working well.To get the plugins again I again changed the name to "plugins" .

    I will activate the plugins again. But do i need to maintain both the folders mu-plugins and plugins ?

    ***
    I have created other multisite and in that too the default plugins folder is plugins . And I have created mu-plugins for domain mapping plugin?Am I need to use both the folders for ever? Is there any chance for conflicting of plugins in the future?

  9. You need to have the mu-plugins folder becasue that's where you put the domain mapping plugins and ONLY plugins that specifically state they go there.

  10. asshu
    Member
    Posted 4 years ago #

    Is there any problem having the two folders(plugins and mu-plugins )?

Topic Closed

This topic has been closed to new replies.

About this Topic