-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cannot activate - Parse error: syntax error #51
Comments
Hi @dartrax |
Tested with PHP version 8.0.18 and 8.1.5, Apache server, and PHP 7.4.7 on a local XAMPP stack (Windows). All the same. |
Please let me know if I can do anything to help you debugging this! |
Ok @dartrax checking now |
I did with both versions, and with PHP 7 and 8 (Apache) |
I've downloaded the zip and first tried to upload it via Wordpress, second via FTP upload. Both times same error. What puzzles me is that I get the same error if I load the class-settings.php in VSCode and hit "Run and Debug". This was merely accidental since I don't expect this single file to work there at all, but the message is the same. |
Hi,
I cannot activate this plugin:
Parse error: syntax error, unexpected token "default", expecting "elseif" or "else" or "endif" in /var/www/vhosts/.../wp-content/plugins/Tooltipy-OOP-master/admin/class-settings.php on line 607
The text was updated successfully, but these errors were encountered: