• Resolved blvr_dev

    (@blvr_dev)


    Hi,

    I tried activating the plugin but got the following error message:

    “Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected ‘[‘ in /chroot/home/fashionf/fashionfurniture.com/html/blog/wp-content/plugins/export-media-with-selected-content/export-media-with-content.php on line 216 ”

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author joost de keijzer

    (@joostdekeijzer)

    Hi blvr_dev,

    I think your site PHP version does not recognise the “short array syntax”, it must therefore be using a PHP version less than v5.4.

    The plugin needs PHP v7.0+…

    Plugin Author joost de keijzer

    (@joostdekeijzer)

    I’ve updated the requirements so this is more clear now. I’ve also removed the “short array syntax”. I don’t know if you can automatically update now to v2.1.1, otherwise try manually. Please note PHP below v7.0 is completely untested.

    Thread Starter blvr_dev

    (@blvr_dev)

    Hi,

    I’m now getting the following message when trying to activate the plugin:

    Fatal error: Cannot redeclare add_filter()

    • This reply was modified 1 year, 11 months ago by blvr_dev.

    After updating to php7+ I am also getting this error when I try and enable the plugin:

    Fatal error: Cannot redeclare add_action() (previously declared in /home/g123/public_html/wp-includes/plugin.php:409) in /home/g123/public_html/wp-content/plugins/export-media-with-selected-content/export-media-with-content.php on line 15

    Still getting fatal error

    Plugin Author joost de keijzer

    (@joostdekeijzer)

    Argh, sorry! Should not fix things late in the evening…

    v2.1.2 released

    [27-Feb-2021 11:15:54 UTC] PHP Fatal error: Cannot redeclare add_filter() (previously declared in /var/www/vhosts/archive.site.uk/httpdocs/wp/wp-includes/plugin.php:114) in /var/www/vhosts/archive.site.uk/httpdocs/wp-content/plugins/export-media-with-selected-content/export-media-with-content.php on line 14

    We had the same issue. It caused a fatal error. Our hosts have disabled it, but am pleased we weren’t the only ones!

    Plugin Author joost de keijzer

    (@joostdekeijzer)

    v2.1.2 fixes the fatal errors

    @joostdekeijzer Thanks so much for your help and your plugin 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Fatal Error’ is closed to new replies.