Title: Fatal Error While Importing
Last modified: October 23, 2022

---

# Fatal Error While Importing

 *  Resolved [ramitechram](https://wordpress.org/support/users/ramitechram/)
 * (@ramitechram)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-while-importing/)
 * Hi,
 * I am seeing this as a fatal error when importing users.
 * Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate
   12288 bytes) in /var/www/vhosts/mymotherscousin.com.au/httpdocs/wp-includes/functions.
   php on line 651
 * The code under functions.php is as below, but I cant see where the issue is and
   how to fix it:
 *     ```
       /**
        * Unserialize data only if it was serialized.
        *
        * @since 2.0.0
        *
        * @param string $data Data that might be unserialized.
        * @return mixed Unserialized data can be any type.
        */
       function maybe_unserialize( $data ) {
       	if ( is_serialized( $data ) ) { // Don't attempt to unserialize data that wasn't serialized going in.
       		return @unserialize( trim( $data ) );
       	}
   
       	return $data;
       }
       ```
   
 * Please help.
 * Rami

Viewing 1 replies (of 1 total)

 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-while-importing/#post-16127277)
 * [@ramitechram](https://wordpress.org/support/users/ramitechram/),
 * This is not a problem with this plugin. It seems you do have not enough memory
   available in your PHP instance.
 * You can find many posts about this: [https://wpmet.com/how-to-increase-wordpress-memory-limit/](https://wpmet.com/how-to-increase-wordpress-memory-limit/)

Viewing 1 replies (of 1 total)

The topic ‘Fatal Error While Importing’ is closed to new replies.

 * ![](https://ps.w.org/import-users-from-csv-with-meta/assets/icon-256x256.png?
   rev=1174343)
 * [Import and export users and customers](https://wordpress.org/plugins/import-users-from-csv-with-meta/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/import-users-from-csv-with-meta/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/)
 * [Active Topics](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-while-importing/#post-16127277)
 * Status: resolved