Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin crashes WP 4.2.2 Multisite #1

Open
Hazno opened this issue Jun 8, 2015 · 3 comments
Open

Plugin crashes WP 4.2.2 Multisite #1

Hazno opened this issue Jun 8, 2015 · 3 comments

Comments

@Hazno
Copy link

Hazno commented Jun 8, 2015

Upon downloading the plugin as zip and uploading it through wp-admin, it crashes my entire site including wp-admin after activating it. This happens both on a local and remote WP 4.2.2 Multisite installation. The error message is as follows:

Parse error: syntax error, unexpected end of file in C:\wamp\www\mysite\wp-content\plugins\cXense-4-WordPress-master\widget.php on line 99

This is the only message appearing on the screen (along with a stack trace), while no other content is rendered at all. I have tried to download and install the plugin several times with the same result.

In order to deactivate/remove the plugin I have to delete it from \wp-content\plugins\ physically, and the site goes back to normal.

@victorjonsson
Copy link
Owner

I'm guessing its because the widget-file uses short-hand PHP-tags...

victorjonsson added a commit that referenced this issue Jun 8, 2015
@victorjonsson
Copy link
Owner

You could try again now.

@Hazno
Copy link
Author

Hazno commented Jun 8, 2015

Awesome, thank you for the really quick fix!

However, after doing a quick search through the plugin code I noticed the same issue occurs in some other files as well:

\templates\admin\settings-page.php on line 28.
\ajax-search\ajax-search-shortcode.php on lines 12 and 53.

Again, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants