• Installed the plugin, but dont activate, i have the error:

    Parse error: syntax error, unexpected T_FUNCTION in /home/bogyis01/public_html/new/wp-content/plugins/external-media/includes/WP_ExternalUtility.php on line 25

    whats problem?

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author minnur

    (@minnur)

    @dettoboy what version of PHP are you using ?

    Plugin Author minnur

    (@minnur)

    It looks like you’re on older version of PHP.
    This is the line that causing this error: uasort( $plugins, function ( $a, $b ) {});

    here is more about anonymous functions http://php.net/manual/en/functions.anonymous.php

    If you could provide more details about your setup I could probably adjust the plugin to support that version of PHP.

    Thanks and sorry for the plugin to cause problems. As you may know so many people using different versions of PHP and it can get very complicated to make sure plugins works with all of them.

    Plugin Author minnur

    (@minnur)

    @dettoboy I removed anonymous function in version 1.0.16. Please give it a try. Thanks!

    Thread Starter dettoboy

    (@dettoboy)

    I using: PHP version 5.2.17, i do, its old, but not chance use new version. Thanks for your support.

    Plugin Author minnur

    (@minnur)

    @dettoboy I replaced removed anonymous function. But yeah 5.2 is way too old and insecure. I would highly recommend you to upgrade it.

    Thread Starter dettoboy

    (@dettoboy)

    Ok, i send my reques to my hosing company.

    Plugin Author minnur

    (@minnur)

    @dettoboy let me know how it goes. Hopefully PHP upgrade will go as smooth as possible.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Fatal error’ is closed to new replies.