"How to Install WordPress on Your Computer" was retired on November 30, 2017. You are now viewing the recommended replacement.

Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Local WordPress Development Local WordPress Development Installing WordPress Locally

The localhost page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500.

I noticed that other people where having a similar problem so I looked into the answers they received and the answer that worked for them was putting tail -n 20 /Applications/MAMP/logs/php_error.log into Terminal and the problem was a syntax error. Unfortunately my problem is not the same and am stuck now. The answer I received is: tail -n 20 /Applications/MAMP/logs/php_error.log [21-Mar-2017 03:37:02 Europe/Berlin] PHP Fatal error: Uncaught Error: [] operator not supported for strings in /Applications/MAMP/bin/phpLiteAdmin/phpliteadmin.php:572 Stack trace:

0 /Applications/MAMP/bin/phpLiteAdmin/phpliteadmin.php(719): dir_tree('/Applications/M...')

1 {main}

thrown in /Applications/MAMP/bin/phpLiteAdmin/phpliteadmin.php on line 572 [21-Mar-2017 03:37:02 Europe/Berlin] PHP Fatal error: Uncaught Error: [] operator not supported for strings in /Applications/MAMP/bin/phpLiteAdmin/phpliteadmin.php:572 Stack trace:

0 /Applications/MAMP/bin/phpLiteAdmin/phpliteadmin.php(719): dir_tree('/Applications/M...')

1 {main}

thrown in /Applications/MAMP/bin/phpLiteAdmin/phpliteadmin.php on line 572 [21-Mar-2017 03:37:11 Europe/Berlin] PHP Fatal error: Uncaught Error: [] operator not supported for strings in /Applications/MAMP/bin/phpLiteAdmin/phpliteadmin.php:572 Stack trace:

0 /Applications/MAMP/bin/phpLiteAdmin/phpliteadmin.php(719): dir_tree('/Applications/M...')

1 {main}

If someone can help me clear this out so I can continue the course it will surely be appreciated..