-
Notifications
You must be signed in to change notification settings - Fork 430
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
Latest release - errors in text editor #303
Comments
Any clue what it is complaining about? Obviously some of it is the |
As per code hinting, these are syntax error.
|
@shilpapatil No PHP syntax errors there, probably syntax parser errors in the editor though. |
This is what I get when try to install theme: |
What version of PHP are you guys running? The parse error "Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM ..." referencing |
I have this problem too - T_PAAMAYIM_NEKUDOTAYIM in /home/.../class-tgm-plugin-activation.php on line 1140 |
it's 5.3.29 PHP version |
PHP 5.5.12 |
Duh.. of course... I can see the issue with PHP 5.2 and am currently working on a solution. @shilpapatil are you sure you're running into this with PHP 5.5 ??? I've just ran lints on the file with both PHP 5.5.9 as well as 5.5.16 and passes with flying colours. |
Ok, I send in PR #306 which should fix this. Testing appreciated. |
thanks for the effort @jrfnl. I just tested it on localhost PHP 5.4.16 and got this error: |
Thanks for improving, but there is the same error - get_instance() at 1138 (5.2.17) |
Yeah, sorry about that. I seem to have had my head elsewhere. All fixed now with my latest commit. |
@jrfnl pardon my ignorance. My editor supports PHP 5.4 |
@jrfnl can you link the commit? |
@AndonDesign Yup, I noticed that too, working on it. |
Ok, fixed it - working fix in PR #309 which will probably be merged into develop soon. Testing still appreciated. |
Thank you!!! |
Not sure if related to latest commit (030bdcc) but now I'm getting the following error when attempting bulk install: |
@AndonDesign Thanks for paying attention, I obviously am not, keep making typos today ;-) PR #311 fixes this. |
works a treat now! thanks :) |
Seems like issue is resolved. Hope it is ok to close this thread. |
Hi,
TGM-Plugin-Activation v 2.4.1
class-tgm-plugin-activation.php showing errors in code editor.
Please check if these are fine.
The text was updated successfully, but these errors were encountered: