Support » Fixing WordPress » Problems with installing plugins

  • orionexodus

    (@orionexodus)


    If i try to install plugins i get following error (sorry its in german, use deepl for translations):

    Fatal error: Cannot redeclare plugins_api() (previously declared in /var/www/vhosts/freiamtstudio.ch/freiamtstudio.ch/wp-admin/includes/plugin-install.php:102) in /var/www/vhosts/freiamtstudio.ch/freiamtstudio.ch/wp-admin/includes/plugin-install.php on line 102
    Es gab einen kritischen Fehler auf deiner Website. Bitte überprüfe den Posteingang deiner Website-Administrator-E-Mail-Adresse für weitere Anweisungen.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter orionexodus

    (@orionexodus)

    Sorry, forgot to add: I already tried reinstalling the wordpress base update.

    Sundar

    (@phptechie)

    Hi,

    Please check and update “plugins” directory file permissions and then try to upload / add new plugin from WordPress admin section.

    Thanks!

    AddWeb Solution Pvt. Ltd.

    (@addweb-solution-pvt-ltd)

    Hey @orionexodus

    This is happening because the new plugin is trying to declare this “plugins_api()” function name which is already declared and defined in WordPress core. So, due to that reason, this plugin is not installed on your website. To resolve you need to contact the support team of the plugin and inform them this same thing.

    Regards,

    Thread Starter orionexodus

    (@orionexodus)

    @addweb-solution-pvt-ltd i didnt install or try anything i get that error by entering the plugins section. I’ll lookup the permissions and report back.

    EDIT: nothing wrong with the permissions…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problems with installing plugins’ is closed to new replies.