Close this search box.

Most frequent errors that are triggered from hosting and how to solve them

In this article, we list the most common errors related to the host provider experienced by our clients and the server solutions.


1. Fatal memory

The error message:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2348617 bytes) in /home/username/public_html/site1/wp-includes/plugin.php on line xyz

Fatal error: Out of memory (allocated 18612224 ) (tried to allocate 491520 bytes) in/home/username/public_html/site/wp-includes/canonical.php on line 257

Solution: Increase memory


Notes: Some plugins eat a lot of memory. Example WPML needs at least 64MB to run ok. Visual Composer and Ultimate Addons recommend 256MB.


2. Add property (set_time_limit() warning)

The error message:

Warning: set_time_limit(): Cannot set max execution time limit due to system policy in /customers/5/5/9/ on line 7

Cause: hosting restriction on shared servers.

Help: Hosting must provide the solution based on these url instructions

Alternative solution: If hosting cannot raise that limit, one option is to change hosting.

In the theme – you can try to comment line 7 in user-dashboard-add.php and test submission.


3. White screen

Cause: A white screen is usually generated by an error, which is not visible. The most common issue limited memory or fatal errors, created with plugins conflict.


a. If you can access the Administration Screens try deactivating all of your Plugins and then reactivating them one by one.

If you are unable to access your Screens, log in to your website via FTP. Locate the folder wp-content/plugins and rename the Plugin folder plugins_old. This will deactivate all of your Plugins.

b. Go to wp-config.php and enable debug to true check errors and take actions based on errors.



4. Image not uploaded Error

In case you get this error message when you upload an image:

“Failed to write file to disk”

Check this solution:

This message is related to WordPress files that connect to uploads.

Our recommendations are:

– Check that upload folder permissions are 777 or 755 – help

– Check with your hosting to see if your disk space is not full and you need to upgrade hosting


5. Image upload HTTP error

In case of this error message:

Error-200, Message: HTTP Error

We recommend the following solution:

  • Open wp-config.php in your sites main directory via FTP (or cPanel)
  • Scroll to the line which reads /* That’s all, stop editing! Happy blogging. */
  • Add the code set_time_limit(60); above the line /* That’s all, stop editing! Happy blogging. */ text

Set the set_time_limit(300);

Some hosting companies may not allow you to overwrite this setting from wp-config. However, you can still try.

Here is a list of other common limits you can check and set to max possible (if your server allows it)

Copy from here:


6. Emails are not sent

If you don’t receive emails, it means your server is not sending emails or the email address you send to is not receiving them the email.


1. For Bluehost clients – install WP BETTER EMAILS plugin and replace the sender email with an email address created in BlueHost (must be valid). They have a security setting for sending email and this has been tested to work.

2. If 1 fails, install CONFIGURE SMTP plugin and set up the send email with another SMTP (overwrite sever email). Use a gmail address to be sure about your test results or ask hosting to provide the details to use for emails to work

3. Change the receiver email to a gmail address to see if the email receiving is the problem. If that is the problem, you’d have to check the MX records (hosting can help)


7. A user cannot register

The error message:

Call to undefined function checkdnsrr() in ajax_functions.php” file.


Check and enable the missing PHP module:

The best solution is to have that module enable because this function checks emails validity and does not allow suspicious email addresses to be registered.

The 2nd solution is to delete the code that asks for this module in the code.


8. Error in WP Residence – after update to 1.092

The error message:

Warning: set_time_limit() has been disabled for security reasons in /usr/home/ on line 44


The theme has this code pin-management for speed but some hosting companies disable the safe limit –

If hosting cannot help raise that restriction (on shared servers they may not do that) – please see if setting in wp-config debug to false works.

If that doesn’t work, next step is to comment the code at the line mentioned in the file so that it does not apply anymore. But remember that code is good for site speed purposes.

How to comment code:

In pin_management.php line 44 is

set_time_limit (0);

You can comment/delete the code. Do a backup before if this is the first time you make code changes.


9. “Are you sure you want to do this?” message on installation

This message shows because your upload limit is less than theme size.

You need to change this PHP value (server value) upload_max_filesize in PHP.ini to at least 10MB

Your options are:

1. Increase max upload size via hosting (with hosting support help or by modifying your php.ini)

  1. Locate the php.ini file inside the wp-admin directory (if you can’t find this file ask hosting for support)
  2. Find this line in the php.ini file “upload_max_filesize = 2M” and replace it with a higher value (e.g. “upload_max_filesize = 64M”)
  3. You may also want to increase your max post size. Look for this line in your php.ini file “post_max_size” and increase it as well.
  4. Save the changes to the file inside your wp-admin directory.
  5. Try the upload again
  6. If you still have issues, look for this file in your root directory and make the same changes.

2. Add the theme or plugin – via FTP

Help –


10. WP Rentals – Booking Turned On – the calendar doesn’t work

The error message:

Warning: DateTime::modify() [datetime.modify]: Failed to parse time string (first day of next month) at position 10 (o): The timezone could not be found in the database in /home/teste/public_html/ on line 310

Warning: DateTime::modify() [datetime.modify]: Failed to parse time string (first day of next month) at position 10 (o): The timezone could not be found in the database in /autoinstalator/wordpress6/wp-content/themes/wprentals/templates/show_avalability.php on line 73

The error says that it cannot read the start date of the calendar, which is correlated with server date.timezone settings. Basically, server settings don’t support date.timezone

The calendar we implemented needs that line in the code. It cannot be removed from theme end. That line basically allows users to book, mark dates as booked when bookings are made and confirmed. Delete that line and booking is useless.

Solutions must be applied on server level:

1. Setting the date.timezone in php.ini may solve this

Open up php.ini, find “date.timezone”

date.timezone =Europe/Athens

***the above is just an example

See more on PHP manual…

2. In godday hosting, they have some server MYSQL issues on the shared server. A client was hosting with them and he had to move hosting to another company because they didn’t allow this setting to work.

3. Check Server PHP version.  Date format was introduced in PHP 5.3 Your server should have at least 5.3 version installed.


11. 500 Internal Server Error

The error message:

Intrusivo 70 Failed to load resource: the server responded with a status of 500 (Internal Server Error)

This error says two things:

a. server responds with status 500

Please contact hosting to confirm what that means.

b. JS error in wordpress files (wp-admin/admin-ajax) That is wordpress file and if wodpress errors show can be several causes (but it’s not theme for sure as for us everything works fine)


This is related to the server configuration.

To solve it – install php5-url (original link with the solution)…


12. Yahoo login doesn’t work

The error message:

The error URL says it cannot find the OPEN ID Server


In php configuration allow_url_fopen = 1 solved the issue



13. Theme install

The error message:

Installing Theme from uploaded file:

Unpacking the package…

Installing the theme…

The package could not be installed. The theme is missing the style.css stylesheet.

Theme install failed.


This happens when you try to install the entire theme pack from ThemeForest, which is wrong.

So – download the zip from theme forest.


Look inside the folder for

Install just that via admin.

Instructions to download license + or download just zip of the theme + how to install –


14. Stripe Fatal error

The error message:

Fatal error: Uncaught exception ‘Exception’ with message ‘Stripe needs the Multibyte String PHP extension.’ in /home/site/public_html/wp-content/themes/wpestate/libs/stripe/lib/Stripe.php:13 Stack trace: #0 /home/site/public_html/wp-content/themes/wpestate/libs/templates/user_profile.php(164): require_once() #1 /home/site/public_html/wp-includes/template.php(503): require(‘/home/site…’) #2

/home/site/public_html/wp-includes/template.php(477): load_template(‘/home/site…’, false) #3
/home/site/public_html/wp-includes/general-template.php(171): locate_template(Array, true, false) #4 /home/site/public_html/wp-content/themes/wpestate/user-dashboard-profile.php(251): get_template_part(‘libs/templates/…’) #5
/home/site/public_html/wp-includes/template-loader.php(74): include(‘/home/site…’) #6
/home/site/public_html/wp-blog-header.php(16): require_once(‘/home/site…’) #7
/home/site/public_html/i in /home/site/public_html/wp-content/themes/wpestate/libs/stripe/lib/Stripe.php on line 13


The above error message appears because Stripe needs the Multibyte String PHP extension.

This is a server PHP module

Go to hosting and ask them to enable this PHP module on server please –

Without it – Stripe will not work.


14. Parse error: syntax error, unexpected T_FUNCTION in /wp-content/themes/wpresidence/libs/3rdparty.php on line 266

Solution: Upgrade PHP version to 5.3 or greater. Recommended is at least 5.6