Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Appears that this is not a ModernBill bug, sorry for assuming that. And a big thanks to Ben for his reply, I guess he doesn't mind me posting it here:
Quote:
Short story:
Remove the "::" in your package comments. It induces a php bug.
Long story:
It appears to be an obscure php bug that appears to have been introduced recently. It is trying to run defined() on your package comment which has a "::" in it. That is also the notation in php which separates a class from a method. For example: "class::method()". defined() is being used by us to see if a constant exists before trying to resolve it, but defined() also checks to see whether classes, methods, or functions exist.
What appears to be happening is defined() has a bug where it now fails to catch the error case when it is checking a method where the method's class does not exist.
For example, one of your package comments:
.. :: 1000 MB Webspace :: 100 GB Traffic :: ..
If that were a method, php would consider the text before the first "::" the class, and the text after the first "::" the method, so you have:
class: ".. "
method: " 1000 MB Webspace :: 100 GB Traffic :: .."
PHP's defined() looked up ".. " as a class, and failed to find it. Instead of catching the error as meaning that the string passed to defined() is not defined as a method and continuing to the next check, it handled it as a fatal error.
I have reported this to php:
bugs.php.net/bug.php?id=42770
Thank you for reporting the problem, and including all of the information we needed to find it.
Cheers,
Ben
~ Ben
~ ModernGigabyte, LLC
Please Log in to join the conversation.
PHP Fatal error: Class 'Brugernavn' not found in /usr/local/www/joomla/administrator/components/com_comprofiler/comprofile
r.class.php on line 1366
Please Log in to join the conversation.
Please Log in to join the conversation.