Skip to content
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

Fatal Error on Inflector Class #10080

Closed
frogydiak opened this issue Apr 25, 2016 · 1 comment
Closed

Fatal Error on Inflector Class #10080

frogydiak opened this issue Apr 25, 2016 · 1 comment

Comments

@frogydiak
Copy link

Steps to reproduce the issue

use Joomla\String\Inflector;

$inflector = Inflector::getInstance();

Expected result

Actual result

Fatal error: Cannot use 'String' as class name as it is reserved in /pubic_html/libraries/vendor/joomla/string/src/String.php on line 19

System information (as much as possible)

PHP Built On
Darwin 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64

Database Version
5.5.5-10.1.10-MariaDB

Database Collation
utf8_general_ci

Database Connection Collation
utf8mb4_general_ci

PHP Version
7.0.4

Web Server
Apache/2.4.18 (Unix) OpenSSL/1.0.2g PHP/7.0.4 mod_perl/2.0.8-dev Perl/v5.16.3

WebServer to PHP Interface
apache2handler

Joomla! Version
Joomla! 3.5.1 Stable [ Unicorn ] 05-April-2016 22:45 GMT

Joomla! Platform Version
Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT

User Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0

Additional comments

@mbabker
Copy link
Contributor

mbabker commented Apr 25, 2016

Fixed with #9704

@mbabker mbabker closed this as completed Apr 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants