Fix error "Fatal error undefined function is_network_admin"

An error of the ugliest you can find in your installation of WordPress is the one that shows the gruesome phrase " Fatal error undefined function is_network_admin () ", an error that tends to is caused by a reason that does not seem very obvious to the view of the message ..

It is a typical error after an unsuccessful update of WordPress and it is usually shown when you try to access the administration of your site after the update with errors.

It may happen after an automatic update of WordPress or a manual made by you in which there has been some error of connection or upload of files.

The only solution is go back to update manually trying to avoid errors in the new installation . To do this follow these steps:

The only danger is that you do not follow the steps exactly, for example also uploading the folder wp-content (which you should not upload as you would upload your themes and plugins).

How to install plugins in WordPress in three ways + 3 videos

First of all I have to say that it is a pleasure to write in Fernando's Blog, a WordPress reference blog in Spanish. [19659003] In this post we will see the different ways to install a plugin in WordPress and under what circumstances we should use one form of installation or another.

There are three ways to install plugins in WordPress:

  • Install WordPress plugin with prior download: we will proceed first to download the plugin and then install it through the WordPress admin panel.
  • Install WordPress plugin direct from the Back Office: install the plugin directly from the administration panel (without download).
  • Install plugin via FTP: Install the plugin by uploading it via FTP to the Word plugins folder Press

I already told you that to install templates in WordPress you can use the same 3 procedures that we will see to install a plugin.

INSTALL PLUGINS IN WORDPRESS WITH PREVIOUS DOWNLOAD

This way of installing plugins in WordPress is divided into two parts. Previous download of the plugin and subsequent installation through the WordPress administration panel.

This form of plugin installation is usual for the installation of payment plugins such as page builder ] as visual composer or Divi builder, WPML language plugin, or any other premium plugin. Since after the acquisition of it we will proceed to the download and subsequent installation.

It can also be used to install free plugins of wordpress.org . Although in this case it would be faster to use the second method (install plugin directly from the administration panel).

Process of installing a plugin in WordPress with prior download.

1-Download plugin: In First we must proceed to download the plugin that we want to install. Either after acquiring a paid plugin or after visiting the download page of a free wordpress.org plugin.

We will save the compressed plugin on the desktop of our PC.

Important: do not unzip the plugin, we will use it compressed.

2-Access the Administration Panel: for the installation we will access the WordPress administration panel through the URL: http://midominio.com/wp- admin

We will introduce our username and password.

3-Add New plugin: to install a plugin we will go to: "Administration Panel> Plugins> Add New" ] Then we will click on the button named: "Upload plugin" that appears at the top of the screen.

4-Browse: Now we will click on the button: "Examine …" . We will search in our computer the compressed file of the plugin and we will click on: "Open" .

 Install plugin with wordpress installer

Install previous plugin download of it

5- Install: Next we will click on the button: "Install now" and the plugin installation process will begin.

6- Activate plugin: once installed the plugin must activate it if we want to start it. To do this we can click the link: "Activate plugin" that appears after installation or go to: "admin panel> plugins> Installed plugins", find the plugin and activate it.

HOW TO INSTALL A PLUG IN WORDPRESS DIRECTLY FROM THE ADMINISTRATION PANEL

This form of install plugins in WordPress is done entirely from the administration panel . That is, you do not have to download the plugin previously.

Obviously this method can not be used for paid plugins. We will only use it for free plugins present in wordpress.org

Process to install a plugin directly from the WordPress desktop

1-Access the administration panel: the first thing we have to do is access the WordPress admin panel. To do this we must access the URL: http://midominio.com/wp-admin . Later we will introduce our username and password.

2-Add New plugin: to add a new plugin we will go to: "Admin panel> Plugins> Add New" .

3- Search plugin: now we will write the name of the plugin that we want to install in the search bar that appears on the right side and press "enter".

4-Select plugin: located the plugin will press the button: "Install now" of the same and the installation process will begin.

 Install free plugin of wordpress.org

Install plugin of wordpress.org through the admin panel

5 – Activate plugin: Installed the plugin will proceed to activate it if we want to start it. To do this, click on the link: "Activate plugin" that appears after installing the plugin or go to: "administration panel> plugins> Plugins installed", we will find the plugin and activate it.

HOW TO INSTALL A PLUGIN BY FTP

This is the most technical way to install a plugin in WordPress. It is necessary to perform a previous download of it.

This method can be used for free and paid plugins. It consists of uploading the plugin directly to the "Plugins" folder of WordPress . To work, the plugin must be decompressed.

This method is usually used when any of the previous methods fails.

To use this method we will need an FTP client.

Process to install a plugin via FTP

1- Download plugin: The first thing we have to do is download the plugin we want to install. We will place the plugin on the desktop of our computer.

2- Unzip plugin: To make the plugin work it must be unzipped in the appropriate directory. We are going to unzip it and upload it already decompressed. Although we could also upload it compress it and then decompress it through the administration panel of hosting (CPanel, Plesk, or others)

3- FTP Client: Now we must open an FTP client FileZilla WinSCP etc. I'm going to use WinSCP which I like the most, but the truth is that they are all similar.

4- Connection data: After opening WinSCP we will choose the "New site" option in the window from the left. Then in the right window we will select:

i.- Protocol file: we will choose FTP. Some hosting as 1 & 1 use SFTP protocols, in which case you would have to choose "SFTP".

ii.- IP or server name: here we will put an IP or a web address. This information must be provided by our hosting company to make connections via FTP.

iii.- Port: If you use the FTP protocol you must put port 21. If you use the SFTP protocol you must put port 22

iv.- User: here we will put the user for the connection, data that should also be provided by the hosting company.

v.- Password: Here we will write the user's password for the connection via FTP. This information should also be provided by the hosting company.

When the data is filled in, we will click on the "Connect" button that appears at the bottom.

5- FTP client management: en The FTP client will see two screens. The left screen is your computer and the right window corresponds to the hosting . To copy a file from your computer to the hosting you just have to locate the file, click on it with the left mouse button, drag it to the window on the right and drop it on the appropriate directory.

6.- Preparation: what we will do now is to prepare both windows. In the window on the left we will select the desktop that is where we left the decompressed plugin. In the right window we will go to "public_html / wp-content / plugins" which is where we should place the plugin that we want to install.

7- Drag and drop: now we will proceed to upload a copy of the plugin to hosting To do this, in the left window we will click with the left mouse button on the plugin that we want to upload and drag it to the right screen. We will release it in a clean area where there are no folders (so that it is not inserted in a directory)

 how to install a wordpress plugin via FTP

Install wordpress plugin via FTP

8- Installed plugin: in a little while the plugin will be placed in the "plugins" folder and therefore it will be installed. You have an "update" button in the FTP client to see the changes.

9- Activate plugin: to activate the plugin we must access the WordPress administration panel and go to: "plugins> Plugins installed. " Find the plugins you just installed and click the "Activate" button.

NOTICE : this publication is from two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you:

How to return a WordPress installation to its initial state • WordPress Help

I know it may seem crazy, but there are times when you need to return a WordPress installation to its original state , with the database completely clean of content and personalizations.

There are situations in which, after a period of testing, you want to return an installation at the beginning, eliminating everything you've done along the way, and you do not have to delete everything and back to the beginning, fortunately.

For example, if you create a site to test themes or plugins, or if you start a project and, after the first experiments, you want to go back to the beginning but eliminating all the junk tables that plugins and other customizations have left by means.

A clean and, above all, very fast method is to use the plugin called WordPress Database Reset . Once installed you have a simple, at the same time dangerous because of its radical utility settings screen.

 wordpress database reset plugin

The best thing about the plugin is that it is not only valid for this So radical function of which I have spoken to you, but is also a good system to erase crap that accumulates in tables as wp_options .

In the settings page located in " Tools -> Database Reset " you can, for this, choose a table or all (by clicking on " Select all "). Then the plugin generates a random text string that you must enter in the following text box and, finally, press the button Reset Database .

If you only choose a table, you simply clean your settings by default, something that also has its risks, of course. But if you choose all the cleaning is total, then eliminates users, entries, pages, any configuration, everything . The only thing left will be the initial admin user and the default entry, page and comment of any WordPress installation.

Of course, there is no undo button so it's better that before you use it you have from an updated backup of the database, in case you regret it, you know.

The plugin works great so there will be no going back, so use it only for very special situations.

NOTICE ]: This publication is from two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you:

Configure the database host if you do not know which one is

At the time of install WordPress one of the basic elements to be able to connect to the database in addition to the user and MySQL key is the server name, the one known as hostname a data that is normally provided by your hosting provider, but what if you do not find it?

As indicated by the same installation screen of WordPress, in 99% of the occasions the server name is localhost but you will know that it is precisely 1% that usually gives war, especially when your hosting provider does not make things easier for you.

But if localhost does not work for you and you're not in any of the previous providers you can always use a trick of the configuration file wp-config.php that will get you out of the mess on more than one occasion.

What the new line does is try to resolve the host of the database without having to enter it manually. You save the changes and most of the time you will recover the name of your server and everything will work correctly.

Finally permanent links in the installation! • WordPress Help

A long time ago, a long time that has been talking about that WordPress should allow to choose the type of permanent links since the installation it does not make sense to install with the permalinks by default the ugly ones (although effective) when everything we wanted to change them after finishing the installation to choose other more human

Well, is already working for that in WordPress 4.2 permanent links can be chosen from the installation .

that, unless your server does not allow it, you will never start a new installation of WordPress with those ugly permanent links of type http://misitio.es/ ? p = 21 but you will be able to start with something more nice and intuitive like http: // misit io.es/hola-mundo/.

It is more, if you happen to make the choice of the permanent links in the installation WordPress will be installed by default already with permalinks pretty , by work and grace the rewrite of mod_rewrite or nginx of type /% year% /% monthnum% /% day% /% postname % / . That is, for example: http://misitio.es/2015/01/12/hola-mundo/ .

And in case it was not available on rewrite on your server then the permalinks of a newly installed WordPress would be such as /index.php/%year% /% monthnum% /% day% /% postname% / that either They are so bad. It would be something like this: http://misitio.es/index.php/2015/01/12/hola-mundo/ .

In this way we will have the two best possible options, or choose the best ones permalinks possible in the installation or, in case of not doing so, to have from the installation of a human permanent links by default without having to waste time in later configurations to achieve that goal

I suppose it will seem like a good idea to me, but if you see some fault, you tell us in the comments.

NOTICE : this publication is from two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you:

The most important actions you should take after installing WordPress

After having installed WordPress on your server it is time to put your batteries and take a series of actions that are very important. Enter and find out.

1. Install a theme that adapts well to your website.

You have thousands of free themes that you can search and install from the WordPress admin panel itself, it's very easy.

On the other hand, if what you want is a professional site you can get some premium theme payment. It is highly recommended by most professional bloggers.

2. Install a security plugin.

Believe it or not, there are many threats that can compromise the security of your blog. To avoid them there are many plugins that will improve the security of your installation by default.

The one that I use in my blog iThemes Security . I recommend it to you. Among many other things, it blocks the IPs that try to log in to your administration panel to take control by brute force.

3. Delete the default content

When you do a WordPress installation from scratch, files with default content are installed so you can create your blog quickly. Actually that content is not worth anything, besides it usually comes in English.

Delete the post " Hello world ", also the predefined page as well as the comment that comes with the installation.

]4. Friendly structure of your urls

For the SEO of your blog it is very important that you change the default structure of the WordPress urls. You must put the type: www.example.com/name-of-post .

5. Create a sitemap

A sitemap is a file with the structure of your website. It is very important for Google, so that your spiders can correctly index all the pages.

You can create a XML sitemap very easily with WordPress plugins. Once you have created it you must upload it to Google Webmaster Tools .

6. Install a cache plugin

It is important for the good performance of your website that you have installed a plugin that is responsible for managing the cache. Why? Because that way reduces the download times of the contents of your site and by increasing the performance of your hosting .

7. Install a backup plugin

One of the worst things that can happen to you when you have a site with WordPress is that your data gets corrupted, you are hacked or you simply lose control of your blog.

This does not usually happen with a CMS like WordPress but it's always better to prevent. For this I advise you to install a plugin for backups like Better WP Security .

One of the great advantages of this plugin is that you can make backups by programming them periodically and without need to be in front of the computer.

I hope you have understood that after installing WordPress you need to continue configuring it before writing. I recommend you to continue learning more about the WordPress installation and configuration because it is to invest time intelligently.

Customize everything you can to ensure and optimize your website.

NOTICE : this publication is from two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you:

How to uninstall WordPress completely

There are many ways to leave a WordPress installation clean, but only one way to do it completely and definitively.

If we want to reinstall WordPress we access our site and start the installation of new by choosing a new prefix from the same database.

What we get with this quick method is to start a new site by discarding all of the above, but keeping the tables from the database of the previous site in case in the future we we regret and want to recover, at least, the entries, comments, users, etc.

In this way there is no trace of the previous installation, neither in the hosting nor in the server.

If later you want to reinstall WordPress after this cleaning you must first create a new database (with the same name if you wish) and proceed to the installation of WordPress usual.

Of course, always make a copy before of security of the database and of the folders of the installation, at least of the folder wp-content and its subfolders and of the main loose files of the root folder: wp-config. php .htaccess and any other that you have customized.

I can not install plugins

 wordpress plugins

It is quite common to read in the comments of WordPress Help messages from users who can not install plugins , so they keep the honey on their lips when I publish something about these little wonders.

And the truth is that, although a thousand times it has been said in the comments, I have never published the reasons why someone can not install plugins on your WordPress site, which are several …

… You are on WordPress.com or similar …

If you have a site on WordPress.com or any other service that offers free blogs created with WordPress, it is normal that you can not install plugins. You will have certain functionalities offered by plugins in progress, but in reality you are not using a full WordPress but a site of a multi-site installation of WordPress.

This means that the network administrator can enable plugins for all the sites, but you, as a user, neither you can deactivate them, nor install new ones, and in many occasions not even configure them to your liking.

This is usually done for security reasons, to control what is installed and how.

You simply will not see the icon of the plugins in the WordPress icon bar.

… You are in a multi-site installation …

A variable of the above, but basically the same, because you think you have a full installation of WordPress but in reality There is an administrator that decides what you have and what you do not have, and the usual thing is that you do not have the ability to add or remove plugins, just like that.

Also, you will not see the plugins icon. [19] 659013] … Insufficient permissions …

There is another situation in which you may not see the happy icon of the plugins and, consequently, you can not install them or anything, and that is when in a normal installation (not multisite) ] you do not have the Administrator profile the only one with the ability to install plugins, themes, modify files and a lot of other things.

This is more common than people think, especially on sites that do not you have created your, that has been set up by another person who is the one who really manages your website. It is permissible, even recommendable, to do it with the majority of clients, but you must always inform them if you are their webmaster.

… Lack of memory …

Finally there is the situation in which if you can access the plugins installation screen but you can not install or activate any, or almost none. In these occasions the problem is usually caused by a bad or insufficient dedication of memory.

There are several errors that you can see, such as …

Fatal error: Allowed memory size of xxxxxx bytes exhausted [19659004] Could't connect to the host

PCLZIP_ERR_BAD_FORMAT

Or one similar.

In these cases the solution would go through raise the memory limit of PHP or, the hard way, contact your hosting provider to extend the connection times.

And now. That I have found these are usually the reasons, if you know any more you tell us.

NOTICE : this publication is two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say that we have not warned you.

Loading …

That may also help you:

Fatal error "Undefined Function is_network_admin ()"

If on any occasion, after updating or installing WordPress, you see an ugly error with this message

You have a problem, but very easy to solve.

It's a problem because you do not it will practically stop using WordPress, but has an easy solution because it is a symptom of a poor installation or WordPress update .

The solution, therefore, is simple: reinstalls WordPress .

Emergency data sheet of the owner of a WordPress website

The other day I found a fact sheet that I thought was a great idea and also with several possible uses. The approach is to provide a page where to enter the basic connection and access data that any WordPress web owner may need at some time.

The basic situations for which this sheet would serve would be, for example …

The idea is to have that sheet, print it, complete the data of it and keep it safe, for the day you might need it.

Of course I have translated it into Spanish , passed to Excel in case you want it adapt and modify to your liking and here you have it in PDF and XLS format for you to use. I already have a good one for each web that I have, which are a few.