SYMPTOM: This error occurs when trying to access the WordPress access window or even in the pages and posts themselves, appearing a blank page.

This problem usually occurs after updating or installing a new plugin. For this reason, one of the first solutions we must try is to disable the plugins we are using.

Methods to disable plugins

This is where we are presented with two possible methods since we may not have access to the WordPress desktop to disable the plugins in the way that the WordPress environment normally allows us.

  • With access to the WordPress desktop
    • We access our WordPress desktop as we would normally do through the address of our page followed by wp-admin (ex: https://example.com/wp-admin).
    • We go to the plugins section, and select disable in the plugins that are installed. If the error occurred after installing a plugin, we recommend starting by deactivating it.
  • Without access to the WordPress desktop
    • We can use two different methods to disable plugins in WordPress
      • Accessing the WordPress folder
        • We must connect using a file transfer program, such as Filezilla, which will allow us to view the files of our hosting. Access manuals and videos of use of Filezilla. Sometimes the hosting company also has tools that through the web, within the control panel of the provider, allows us to view the files of our hosting, so we can check with our provider if you have this tool to access to the files of our WordPress project.
        • Once we have visualized the folders of our WordPress project, we must go to / wp-content / plugins and we must modify the name of the plugin folder that we want to deactivate (ex: wp-content / plugins / jetpack_old)
        • Finally we will try to access the web again. In the event that a blank page continues to appear, we will proceed to deactivate the following plugin, and continue until we find the one that was producing the error.
      • Accessing throw database

            • Normally we have a tool, provided by the hosting company called PHPMYADMIN, which allows us to manage the database from the browser and looks like this:
          • Imagen phpmyadmin
            • Once inside PHPMYADMIN on the left you must click on the “+” symbol next to the name of your database, normally something similar to db99999_name and you can see the tables of it, where the information that WordPress uses is stored. manage the content
            • Select the “wp_options” table, the prefix “wp_” may vary depending on the initial WordPress configuration you have chosen.
            • Once selected, the records of the table will appear on the right.
              • This table contains the records of the WordPress options and organizes them as follows:
                • Field name: At the top of the registers appear the field names (option_id, option_name, option_value, autoload), which help to organize the information of each record, in the case that concerns us, we will visualize the field “option_id” , which tells us the registration number in an orderly fashion and we will look for the number 33.
                • Then we will confirm that the number 33 has as field “option_name” active_plugins.
                • Finally we will double click inside the “option_value” field that will contain something similar to “a: 2: {i: 0; s: 19:” jetpack / jetpack.php “; i: 1; s: 25:” wp-members / wp-members.php “;}”, and we will delete all the content leaving it blank. To save, just press the Enter key.

In case the deactivation of the plugins has not solved the problem we must apply more advanced solutions.

Advanced solution

WordPress works using the server language called PHP, this allows WordPress own functionalities, themes and even plugins.

Like any other programming language, this allows when errors are found in the programming messages appear indicating the origin of the problem to help us solve them. This is called DEBUG.

In WordPress the view of these messages is deactivated so as not to interfere with the view of the web, however we can activate it again temporarily if necessary.

Activate debug in WordPress

  • To activate this function we must access the folders of our project, either through FileZilla or the tool provided by the hosting company.
  • Once we visualize the files inside the root / base folder of our WordPress project we must locate the file “wp-config.php”.
  • This file must be edited with any text editor, such as wordpad, xed or gedit.

Imagen editor Xed

  • Within this file we must look for the line:
    • define (‘WP_DEBUG’, false);
      • and modify it by
    • define (‘WP_DEBUG’, true);
  • We save the file and upload it again to the hosting. With this modified we will be able to visualize the errors when loading the pages of our project and to look for information on the concrete problem that causes the failure in our project to be able to solve it
  • Finally remember to deactivate this option once you have solved the problem, leaving the line:
    • define (‘WP_DEBUG’, false);

Compartir este contenido