lesterchan / wp-polls

Adds an AJAX poll system to your WordPress blog. You can also easily add a poll into your WordPress's blog post/page.
https://wordpress.org/plugins/wp-polls/
94 stars 78 forks source link

2.73.4 Crashes WP Site #90

Closed krowvin closed 6 years ago

krowvin commented 7 years ago

Greetings, wanted to let you know that when my wp-polls plugin updated to 2.73.4 it gave 500 errors to my entire site. I had to FTP in and change the wp-polls directory to wp-polls.old for it to continue working. I'm sure it's something on my end if nobody else is experiencing this.

If they are though, changing the directory seems to fix it. I'm not really sure how to revert back to a previous version and still keep the old polls I made.

Let me know if I can provide in logs to assist.

lesterchan commented 7 years ago

Yeap logs would be helpful! I upgraded two of my sites without issues.

Blackbaud-JasonRikard commented 7 years ago

Same issue with 2.73.4 AH01071: Got error 'PHP message: PHP Parse error: syntax error, unexpected '[' in .../wp-content/plugins/wp-polls/wp-polls.php on line 468\n'

lesterchan commented 7 years ago

Ah! What version of PHP are you using?

Blackbaud-JasonRikard commented 7 years ago

5.5.9 from Ubuntu 14.04.5 LTS‬.

krowvin commented 7 years ago

Oh, it gets weird, I enabled debug mode and went to refresh the web page to regenerate the error for logs. The site now loads with the plugin enabled. I've since turned debug off and wp-polls is still working. Let me see if it is stable through a restart.

krowvin commented 7 years ago

As well,

Running PHP 5.5.9-1ubuntu4.20 Ubuntu 14.04.5 LTS

lesterchan commented 7 years ago

@Blackbaud-JasonRikard thanks, I fixed it in 2.73.5. @krowvin is your error the same as @Blackbaud-JasonRikard ?

krowvin commented 7 years ago

I'm unable to generate a log for it, It seems to be working currently. But yes, I bet the error was similar. Thanks for quick reply @lesterchan!