Hi, I am struggling to login into my wordpress dashboard after importing wp site from localhost

0 votes

I've just tried to import a wp site with a duplicator plugin, all went well until the website gave me errors while trying to login to the WP dashboard http://al-iman.org.za/

this is the error:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1048576 bytes) in /home/alimafky/public_html/wp-includes/plugin.php on line 111

I browsed to the plugin.php line 111 and found this code;

if ( ! isset( $wp_filter[ $tag ] ) ) {
        $wp_filter[ $tag ] = new WP_Hook();      line 111


I dont find any opts to increase or decrease memory limit here...

thanks for your help in advance

asked Mar 18, 2019 in Physical Dedicated Hosting by Dream-Hunter (120 points)

1 Answer

0 votes


I trust you are well,

Kindly note that you will need to increase your php file size limit.

You can do so via cPanel: 

Option 1

  1. Access cPanel and look for Select PHP version in the Software section.
  2. Click on Change to PHP options.
  3. Modify the post_max_size and upload_max_filesize values.
  4. Click on Save button to save the changes.

Option 2: email hosting@afrihost.com and they will complete your request.

If you require further assistance,   
please send a message to our WhatsApp helpline: https://whatsapp.afrihost.com  
or visit our Help Centre: https://help.afrihost.com/  
or see our FAQ page: http://faq.afrihost.com  

answered Apr 23, 2019 by Nino (24,610 points)