Hi,
I’m trying to import wordpress demo content with alt.xml
When I try to upload, I receive this error:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1688948 bytes) in /home/skydeptc/public_html/wp-content/plugins/wordpress-importer/parsers.php on line 66
I tried to search it up add find that I need to edit wp-config.php and add the following
define( 'WP_MAX_MEMORY_LIMIT', '256M' );
I tried to edit wp-config.php like this:
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the Codex.
*
* @link https://codex.wordpress.org/Debugging_in_WordPress
*/
define('WP_DEBUG', false);
define( 'WP_MAX_MEMORY_LIMIT', '256M' );
but it still doesn’t work. Can anyone help me where I’m missing?