QUICK TIP - Top Common Errors on WordPress make your headache!

0 7,255
:3of4
1
2
3
4
headache-migraine | A&H Business Technology
Related posts

You receive an error message on your browser “Warning: Cannot modify header information – headers already sent by (output started at /path/blog/wp-config.php:34)” right after upgrading your WordPress or a new WordPress installation.

Solution: Remove spaces, new lines, or other garbage in wp-config.php

  1. Download wp-config.php via FTP.
  2. Open wp-config.php.
  3. Remove all spaces before <?php.
  4. Make sure the first characters are <?php, placed at the first line with no space in between.
    Header Error - 10 Most Common WordPress Errors (+Solutions)

  5. Remove all spaces after ?>
  6. Make sure the last characters are ?>, placed at the last line with no space in between.
    Header Error - 10 Most Common WordPress Errors (+Solutions)

This error could happen on other files too. Read the error message carefully as it states the specific file name where the error occurred.

6. WordPress blog and admin Is showing blank page

The problem:

This error normally happens right after a new WordPress Themes installation or WordPress upgrade. The entire blog is showing a blank page; so is the WordPress admin login page. There’s no way to access the dashboard.

Solution 1: Rename current installed theme folder 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’re able to access WordPress wp-admin after that.

  1. Navigate to the wp-contents/themes directory via FTP.
    Wordpress blog and admin are showing blank page - 10 Most Common WordPress Errors (+Solutions)

  2. Rename current installed theme folder. For example: “twentytwenty” to “twentytwenty-temp”.
    Wordpress blog and admin are showing blank page - 10 Most Common WordPress Errors (+Solutions)

  3. Login to your WordPress wp-admin.
  4. Check if your theme is compatible with your version of WordPress.
  5. Check if your theme contains coding which can’t be executed.

Solution 2: Reset plugin folder via FTP

  1. Navigate to the wp-contents directory via FTP.
  2. Rename plugins folder to “plugins-temp”.
    Wordpress blog and admin are showing blank page - 10 Most Common WordPress Errors (+Solutions)

  3. Create a new folder called “plugins” at wp-contents.
  4. Try to login to your WordPress wp-admin.
  5. Move your plugin from “plugins-temp” to “plugin” and activate them one by one.
  6. Check if any plugin is not compatible with your version of WordPress.

7. Fatal error: Allowed memory size of 33554432 bytes exhausted

The problem:

Receive “Fatal error: Allowed memory size of 33554432 bytes exhausted” when try to upload an image with medium file size. To solve this error, try to increase the memory allocated to PHP. You can set the limit to 32MB, 64MB, 128MB or 256MB. It depends on your host.

Solution 1: Edit PHP.ini

If you’re still allowed to edit your PHP.inifile, update your memory_limit in PHP.ini by modifying the below line

memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)

If the line is showing 64M in default, try 128M.

Solution 2: Edit .htaccess file

Add the script below to your .htaccess file.

php_value memory_limit 64M

Solution 3: Edit wp-config.php file

Add the script below to your wp-config.php file

Increasing memory allocated to PHP define('WP_MEMORY_LIMIT', '64M');

Solution 4: Create a PHP.ini file to wp-admin folder

  1. Open Notepad.
  2. Insert the following code into Notepad.memory_limit = 64M ;
  3. Save as “PHP.ini”.
  4. Upload this file to “wp-admin” directory.

8. You are not authorized to view this page (403 error)

The problem:

You receive an error message “You are not authorized to view this page. (403 error)” after inserting the username and password in the WordPress admin login page.
You are not authorized to view this page (403 error) - 10 Most Common WordPress Errors (+Solutions)

TinyURL for this post: https://tinyurl.com/y6d9zsbf

Sorry, The Comment Form Is Temporarily Closed At This Time
:3of4
1
2
3
4
3
Next
You may also like

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Language:English