Cannot redeclare wordpress_importer_init()

  • Unknown's avatar

    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/ )

    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/ )
    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

  • Hi there,

    Your site is not hosted on WordPress.com, but using the open source WordPress.org software at another hosting provider. We’re only able to help with sites hosted on our servers at WordPress.com.

    Please ask the WordPress.org community for advice instead. They provide support for the version of WordPress you’re using:

    https://wordpress.org/support/forums

    Or alternatively, if you suspect the problem is specific to a particular plugin or theme, contact support for that plugin/theme directly.

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