• Resolved franklewis

    (@franklewis)


    The latest update seems to have broken this plugin. I got a 500 server error and so I took a look at the error log.

    [25-Jun-2017 21:05:21 UTC] PHP Parse error: syntax error, unexpected ‘[‘ in /home/blah/public_html/wp-content/plugins/wp-embed-facebook/lib/class-wp-embed-fb-plugin.php on line 20

    Line 20 actually looks like this:
    static $link_types = [ ‘href’, ‘uri’ ];

    So I’m not seeing the problem.

    Suggestions? The error took down the whole site. I went in and moved the the facebook embed plugin directory for the time being.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Miguel Sirvent

    (@poxtron)

    I have changed all array syntax from [] to array() on the new update, it should work without any problemns now. However the issue has to do with using a PHP version previous to 5.4. I recommend you find a new better hosting with a more updated version of PHP preferably 7.0 or grater.

    Lisa C

    (@lisathirdsideco)

    I would concur with the PHP diagnosis. This plugin is still working fine on my client’s website.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Latest Update Has Broken Plugin’ is closed to new replies.