At times, there are some clients who do not have any type of programming or building websites to the extreme, and have difficulties with builders and WordPress, in this post we emphasize on common mistakes in WordPress. Although most host companies do not support programming and scripting in general, we believe that the relationship of the customer to the support should be as close as possible, not focusing our interests only, but rather seeking to help the customer to have a legal connection. Here are the tips. Use and abuse.
1 - Lost WordPress login and password
2 - Error in WordPress panel
3 - Error: “Warning: Cannot Modify Header Information”
4 - Login and WordPress shows only one blank page
5 - WordPress
6 memory overflow error - Error 403
7 - Error: Undefined Function Is_network_admin ()
8 - Error 404 in login screen WordPress
9 - Maintenance message remains after automatic maintenance
10 - Cannot delete a plugin
1 . Lost Login and Password and recovery email is not working
You have lost your WordPress admin password, and tried to enter your username or email address on the “Lost your password? ”, But could not receive any link to create a new password via email.
Here are two simple solutions to reset your WordPress admin password.
SOLUTION 1: PHPMYADMIN
Enter the cPanel or control panel of your hosting, go to phpMyAdmin and enter into your Databases.
Select your WordPress database. For example: username_wrdp1.
Go to table wp_users, click Browse.
Search for your user and click Edit / Edit.
Reset your password by entering a new value for user_pass. Remember, it is case-sensitive, that is, uppercase is case sensitive.
Once done, click the dropdown menu under Function and choose MD5 from the menu.
At the bottom of the page, click the Go button.
SOLUTION 2: VIA FTP
Log in to your FTP account.
Go to “../wp -content / themes / (your theme) /”, download the functions.php file.
Open the functions.php file and add the code below right after the first 1
wp_set_password (‘CrGs0ft’, 1);
Replace YourNewName with your new password. The “1” in the script is the user ID number in the wp_users table.
Send the edited functions.php file to your FTP.
Once you can log in to WordPress, remove the code and send to your FTP again.
2 . WordPress Admin panel is not displaying correctly
The WordPress panel administrator is displaying without CSS. All links are not arranged properly.
SOLUTION 1: PROXY AND FIREWALL
Make sure your Internet connection is behind a proxy or firewall connection. Some of these tools are blocking CSS files which causes the CSS files not to load properly. Try clearing your proxy or firewall cookies and browser cache, and press Ctrl + F5 to refresh the page.
SOLUTION 2: UPGRADE WORDPRESS PLUGINS
If you have a WordPress plugin installed for the admin menu like “Admin Drop Down Menu” or “Lighter Menus”, update them. If that does not work, try disabling them.
3. Warning: Can not Modify Header Information - Headers Already Sent By
If you get an error message in your browser like this: “Warning: Can not modify header information - headers already sent by” (soon after updating your WordPress or a new one installation of WordPress.
SOLUTION: REMOVE SPACES, NEW LINES OR OTHER TRASH FROM WP-CONFIG.PHP
Download wp-config.php via FTP.
Remove all spaces before Make sure the first characters are
Make sure the last characters are?>, Placed on the last line, with no space between them.
This error can happen in other files as well. Please read the error message carefully as it will indicate the name of the specific file where the error occurred.
4. WordPress Blog and Admin is Showing blank page
This error usually happens soon after a new installation of WordPress theme or update of WordPress. The entire blog shows a blank page as well as the WordPress admin login page. There is no way to access the panel.
SOLUTION 1: RENAME THE CURRENT FOLDER OF THE ITEM INSTALLED VIA FTP
Renaming the currently installed theme folder via FTP can force WordPress to choose the default theme to be put into service and you will be able to access WordPress wp-admin after this.
Navigate to the wp-contents / themes directory via FTP.
Rename the folder of the current theme installed. For example: “TwentyTwenty” to “TwentyTwenty-temp”.
Log in to your WordPress / wp -admin.
Make sure your theme is compatible with your version of WordPress.
Make sure your theme contains code that can not be executed.
SOLUTION 2: PLUGIN PASTE RESET VIA FTP
Navigate to the wp-contents directory via FTP.
Rename the plugins folder to “plugins-temp”.
Create a new folder called “plugins” in wp-contents.
Try to access your WordPress / wp-admin.
Move your plugin from “plugins-temp” to “plugin” and enable them one by one.
Make sure any plugin is not compatible with your version of WordPress.
5. Fatal error: Allowed memory size is exhausted
THE PROBLEM :
Receiving “Fatal error: Allowed memory size of 33554432 bytes exhausted” when trying to load a medium-sized image. To resolve this error, try increasing the memory allocated for PHP. You can set the limit of 32MB, 64MB, 128MB or 256MB. It depends on your lodging.
SOLUTION 1: EDIT PHP.INI
If you are allowed to edit your PHP.ini file, update the memory_limit in php.ini by changing the line below
memory_limit = 64M; Maximum amount of memory to script may consume (64MB)
If the line is showing 64M by default, try 128M.
SOLUTION 2: EDIT THE .HTACCESS
Add the script below to your .htaccess file.
php_value 64M memory_limit
SOLUTION 3: EDIT WP-CONFIG.PHP
Add the script below to your wp-config.php file
define (‘WP_MEMORY_LIMIT’, ‘64M’);
SOLUTION 4: CREATE A PHP.INI FILE IN THE WP-ADMIN PASTE
Enter the following code in Notepad.
memory_limit = 64M;
Save as “PHP.ini”.
Send this file to the “wp-admin” directory.
6. You are not authorized to view this page (Error 403)
THE PROBLEM :
You will receive a “You are not authorized to view this page. (Error 403) “after entering the user name and password in the Admin WordPress login page.
SOLUTION: ACTIVE INDEX.PHP
If your blog is hosted on a Windows server, this could be an error with Directory Indexes.
Go to the Control Panel.
Click Web Options.
Go to the Directory Indexes section.
Adds index.php to directory indexes.
7. Fatal Error Undefined Function Is_network_admin () OR
You receive the “Fatal Error Undefined Function Is_network_admin ()” error when you log in to WordPress Administrator after updating WordPress.
SOLUTION: MANUAL UPDATE
This error is caused by a WordPress version update failure. Try a manual upgrade.
Download the latest WordPress zip file and unzip it.
Back up your WordPress.
Rename the wp-includes and wp-admin directories to wp-includes.bak and wp-admin.bak.
Upload the wp-includes and wp-admin directories from the unzipped folder to your host via FTP.
Upload new wp-content files to the existing wp-content folder. Replace existing files.
Upload the rest of the files from the root directory to the existing WordPress root directory.
Remove the .maintenance file from your WordPress directory via FTP.
Enter WordPress in the admin and you will be given a link to the URL like “http: //yourdomain.com/wordpress/wp-admin/upgrade.php”. Follow the link and instructions.
Clear the cache to see the changes if you have caching enabled.
For more details about the WordPress update manual, read http://codex.wordpress.org/Updating_WordPress#Manual_Update.
8. Error 404 on the login screen of WordPress
THE PROBLEM :
You are not able to log in to WordPress in administration. You receive a 404 error page instead.
SOLUTION 1: UPDATE THE URL IN THE DATABASE
If you are able to access phpMyAdmin, try updating the URL in the database.
Enter the cPanel or Panel of your Hosting, click phpMyAdmin and click Databases.
Select your WordPress database. For example: user_wrdp1.
Go to wp_options, click Browse.
Search for siteurl in the option_name field.
Click Edit Field / Edit Field.
Change the URL in the option_value field.
At the bottom of the page, click the Continue / Go button.
SOLUTION 2: UPGRADE PASTE ATTRIBUTES
Go to “/ wp-admin” via FTP.
Right-click the wp-admin directory, and then click File Attributes or Folder Permissions.
Update the value to 755 and check the feature to apply to subdirectories.
Repeat step 1 for step 4 in / wp-content and wp-includes.
Open your browser and try to log in to WordPress admin. Press Ctrl + F5 to clear cache.
9. “Briefly Unavailable For Scheduled Maintenance” Maintenance message remains after an automatic update
Your WordPress site is showing “Briefly Unavailable For Scheduled Maintenance” after an automatic update has been completed.
SOLUTION: REMOVE FILE .MAINTENANCE
A file named .Maintenance is placed in WordPress during an automatic update to notify visitors that the site is in the middle of a minor maintenance. If an update fails or is corrupted, the file will remain in the WordPress folder and will not be deleted.
To remove the .Maintenance file,
Access the root directory blog via FTP.
Locate the .Maitenance file.
Remove the .Maitenance file from the root directory of the blog.
After you resolve this problem, you may want to try running the WordPress automatic update again.
10. Cannot delete a Plugin
You are not able to delete a WordPress plugin. It still appears even after you have deleted the directory via FTP.
SOLUTION: EXCLUDE PLUGIN VIA SECURE SHELL (SSH)
Your plugin may have loaded some hidden files inside the directory of plugins that do not appear in FTP. If you have SSH access to your blog, access your site via SSH. Use the SSH commands to navigate to “../wp-content/plugins/”. Use ls -al to see the full list of folders. Delete the specific plugin folder with rm (folder name).