Support » Plugin: Simply Static » Problem with version 2.1.4

  • Resolved Dimitar Marinov

    (@dmarinovdev)


    Hello,

    After I’ve upgraded the plugin to 2.1.4 the website broke down. I’ve turned on the debugging in WordPress and these are details it provided:

    Parse error: syntax error, unexpected ')' in /var/www/html/domain.com/wp-content/plugins/simply-static/src/class-ss-plugin.php on line 343

    PS. Thank you for supporting and improving the plugin! πŸ™‚

    Best Regards,

Viewing 8 replies - 1 through 8 (of 8 total)
  • I turned on debug also and here is what I get.

    Parse error: syntax error, unexpected ')' in /Applications/MAMP/htdocs/gillandersauctionservices.ca/wp-content/plugins/simply-static/src/class-ss-plugin.php on line 343
    
    Notice: is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /Applications/MAMP/htdocs/gillandersauctionservices.ca/wp-includes/functions.php on line 5313
    
    Notice: is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /Applications/MAMP/htdocs/gillandersauctionservices.ca/wp-includes/functions.php on line 5313
    Plugin Author patrickposner

    (@patrickposner)

    Hey @dmarinovdev and @richhelms,

    fixed now, thanks for reporting! πŸ™‚

    Best regards,
    Patrick

    Updated to 2.1.4.1. Now I get

    Parse error: syntax error, unexpected ')' in /Applications/MAMP/htdocs/gillandersauctionservices.ca/wp-content/plugins/simply-static/src/tasks/class-ss-fetch-urls-task.php on line 41
    
    Notice: is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /Applications/MAMP/htdocs/gillandersauctionservices.ca/wp-includes/functions.php on line 5313
    
    Notice: is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /Applications/MAMP/htdocs/gillandersauctionservices.ca/wp-includes/functions.php on line 5313

    I did not get an error when I updated the plugin. I got that error when I went to generate the static files.

    Plugin Author patrickposner

    (@patrickposner)

    Hey @richhelms,

    I removed the comma now from all newly introduced filters in Simply Static, which should prevent the issue now.

    Best regards,
    Patrick

    Thread Starter Dimitar Marinov

    (@dmarinovdev)

    Hi @patrickposner,

    I can confirm it works now.

    I just doing some tests with 2.1.4.1 and throw an comma issue on line 41 and after that on 49.
    I was on my way to send you an update and I saw that a new patch is available.
    I’ve tested 2.1.4.2 and everything seems fine now.

    Thank you, @patrickposner for the quick patch!

    Best Regards

    Same. Updated to 2.1.4.2 and it seems to work fine
    Just updating a site now

    Built and uploaded a site. Worked fine. Seems faster.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.