• krisisdnb-djmx

    (@krisisdnb-djmx)


    todays update displays me a 500 error following the update –

    PHP Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in ……………/wp-content/plugins/flowplayer5/admin/settings/class-register-settings.php on line 52

    this is the code (i have not changed it)

    public function get( $key, $default = false ) {
    $value = ! empty( $this->get_all()[ $key ] ) ? $this->get_all()[ $key ] : $default;
    return apply_filters( ‘fp5_setting_’ . $key, $value );
    }

    please advise

    https://wordpress.org/plugins/flowplayer5/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Ulrich

    (@grapplerulrich)

    What version of PHP are you using? You can find out by using a plugin like this. https://wordpress.org/plugins/system-snapshot-report/

    Thread Starter krisisdnb-djmx

    (@krisisdnb-djmx)

    5.3.3 – agreed its old but has never caused me an issue before

    Plugin Author Ulrich

    (@grapplerulrich)

    If you could update to PHP 5.4 it would fix your problem. I will release an update later today. Sorry for the error.

    Thread Starter krisisdnb-djmx

    (@krisisdnb-djmx)

    thats cool but i have about 10+ websites on this server so am a bit reluctant to update to 5.4 as there was a LOT of changes in there which may cause me problems on my other sites.

    I have disabled the plugin for now, if you will do an update to fix it then I will put it back on tomorrow? sound ok?

    thanks for your help!

    xxedgexx

    (@xxedgexx)

    I have the same issue. I cannot upgrade php. Please post an update.

    Plugin Author Ulrich

    (@grapplerulrich)

    Update released

    xxedgexx

    (@xxedgexx)

    I tried this update and video would no longer play. It started an initial frame and it would just stop. I’m using a HLS stream. Downgrading to 1.13.0 allowed it to work again.

    Plugin Author Ulrich

    (@grapplerulrich)

    @xxedgexx – Version 2.0.0 included in an option for single videos to load the HLS plugin script. You can check that it is set under the configuration tab.

    Thread Starter krisisdnb-djmx

    (@krisisdnb-djmx)

    i have justdone the update and site still works. but my videos do not seem to be

    http://bashworkz.com/mr-robot-episode-1-of-10/

    i only have an mp4 file so entered the url and tested the url works in the browser on its own and is fine.

    i have no options set in the config, have tried with hls but it is not a hls m3u8 file anyway so took that back off. any idea?

    xxedgexx

    (@xxedgexx)

    @ulrich – I’m playing from a live stream. Does this matter?

    Plugin Author Ulrich

    (@grapplerulrich)

    I am sorry the videos are not working. I set up your video on my test site and it works there. http://grapplerulrich.tk/krisisdnb-djmx/

    On your page there is an iframe being loaded that also loads jQuery which seems to be coming from shareaholic. In the past the loading of jQuery twice has caused the video not to load correctly.

    Thread Starter krisisdnb-djmx

    (@krisisdnb-djmx)

    ah ok thanks, will remove videos for now

    Plugin Author Ulrich

    (@grapplerulrich)

    @xxedgexx I can try and test it on my site and see what I find. Do you have the links?

    xxedgexx

    (@xxedgexx)

    I don’t really want to post it on a public forum. My email is [email address removed -please do not post email addreses on these forums]

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘bug in new version’ is closed to new replies.