-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
stubGenerator.php gives Fatal Error #17736
Comments
Nope, not the right fix. Need to do There's both a |
unable to replicate, runned stubGenerator.php but |
On current staging? That's strange. |
worked for me too |
May that be related to the PHP version? Mine is 7.0.4 (XAMPP on Windows). But given Michaels explanation I would expect it to fail on all versions anyway. 😕 |
yes current staging, mine PHP is 7.0.22 ubuntu |
Updated now XAMPP to PHP 7.1.8 and it works again. So looks indeed like a bug in 7.0.4. I've read that it was fixed with PHP 7.0.7. I'm closing this issue then. |
FYI this issue occurs as well while retrieving a JTable instance for "Category" (JTable::getInstance('Category')) with PHP 5.6.38. |
Steps to reproduce the issue
Try to run stubGenerator.php
Expected result
Creates a stubs.php file
Actual result
Creates fatal error:
Additional comments
Removing the line https://github.com/joomla/joomla-cms/blob/staging/libraries/classmap.php#L61 solves the issue, but isn't the right solution I guess.
I'm not sure if that is an issue only in the stubGenerator script or if that is something which can happen in production as well.
The text was updated successfully, but these errors were encountered: