Title: Cannot redeclare wordpress_importer_init()
Last modified: December 21, 2020

---

# Cannot redeclare wordpress_importer_init()

 *  [lotosforming](https://wordpress.org/support/users/lotosforming/)
 * (@lotosforming)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-redeclare-wordpress_importer_init-2/)
 * hello
    We first updated our site to WordPress 5.6 and then ran into a black screen
   problem. We installed the enable-jquery-migrate-helper plugin. And we updated
   all our plugins. But the problem was not solved. We thought the problem might
   be with our site theme. Disable the previous theme and reload the theme(OUR THEME
   IS: Industrial – Factory Business WordPress Theme from [https://themeforest.net/](https://themeforest.net/))
 * The black screen problem was fixed when you clicked on the site,
    But when entering
   our admin, we encounter this error: “Fatal error: Cannot redeclare wordpress_importer_init()(
   previously declared in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/
   wordpress-importer/wordpress-importer.php:51) in /opt/bitnami/apps/wordpress/
   htdocs/wp-content/plugins/anps_theme_plugin/importer/wordpress-importer.php on
   line 47 ” ([https://lotosforming.com/wp-admin/](https://lotosforming.com/wp-admin/))
   we can connect with FTP to our site, after deleting this theme we access our 
   WP admin! but we need to install this theme for our website correctly. But as
   soon as the theme is activated, access to the admin is lost.
 * how can I fix this problem?
    please help us
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-redeclare-wordpress_importer_init-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Olga Gleckler](https://wordpress.org/support/users/oglekler/)
 * (@oglekler)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-redeclare-wordpress_importer_init-2/#post-13821895)
 * Hi! You have a premium theme, so, the question about the theme to its official
   support.
    If you see this error, it’s mean that both plugins (with names of folders:
   wordpress-importer and anps_theme_plugin) you are using are having the function
   with exactly the same name ‘wordpress_importer_init’. You can disable one of 
   them and then contact both plugins supports and explain the problem. Developers
   suppose to use a unique prefix for their functions to avoid such collisions, 
   and use of a prefix like ‘wordpress’ is definitely not a good decision.

Viewing 1 replies (of 1 total)

The topic ‘Cannot redeclare wordpress_importer_init()’ is closed to new replies.

## Tags

 * [cannot redeclare](https://wordpress.org/support/topic-tag/cannot-redeclare/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Olga Gleckler](https://wordpress.org/support/users/oglekler/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/cannot-redeclare-wordpress_importer_init-2/#post-13821895)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
