Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
after install Quick Tabs module, at point "/admin/structure/quicktabs/add", my browser show this error:
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /sites/all/modules/quicktabs/quicktabs.classes.inc on line 133
Any help is appreciated!
Comments
Comment #1
somewhere2go CreditAttribution: somewhere2go commentedThe same here!
Comment #2
katbailey CreditAttribution: katbailey commentedUgh, how come it didn't throw an error for me? :-(
Anyway, see as testing this on my own local is obviously not good enough, can you guys let me know if changing line 133 to
solves the problem?
Comment #3
somewhere2go CreditAttribution: somewhere2go commentedSorry, but the system return:
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in ../sites/all/modules/quicktabs/quicktabs.classes.inc on line 182
Comment #4
katbailey CreditAttribution: katbailey commentedOK, try changing that line to
And there's a similar one on line 77 of QuickQuicktabs.inc which will need changing the same way, i.e.
I still don't understand why I'm not getting these errors and you are. I'm on PHP 5.3.5, what about you?
Once I get these nailed down I'll immediately release alpha2
Thanks for your help!
Comment #5
EndEd CreditAttribution: EndEd commentedAll is going well at the moment after applied this fixes. (PHP 5.2.17)
Comment #6
katbailey CreditAttribution: katbailey commentedGreat, thanks EndEd.
And I've found an explanation... (via http://stackoverflow.com/questions/3679717/unexpected-t-paamayim-nekudot...) from the PHP 5.3.0 changelog:
Added support for dynamic access of static members using $foo::myFunc(). (Etienne Kneuss)
I have committed the fixes and will probably tag an alpha2 release in the next few hours if I don't hear of any more problems.
http://drupalcode.org/project/quicktabs.git/commit/b5b851c6193190eb5a9ec...
Comment #7
somewhere2go CreditAttribution: somewhere2go commentedProblem solve (PHP 5.2.17).
Thanks.