First off… Homebrew and Apache on the Mac OS are SEPARATE from the default Mac OS Apache installation. You can edit files and change configs in terminal until you’re blue in the face, and see no changes. That’s because you’re probably installing or editing one, while checking the version or functionality of the other. Homebrew… Continue reading Useful Homebrew Apache-PHP Commands
Category: PHP
PHP illegal string offset warning
Ran across the PHP Joomla warning after upgrading one of my apps to Joomla 3.45: Warning: Illegal string offset ‘name’ in function golfLeagueShowFormats($formatObject){ $delimiter = “,”; $format_array = explode($delimiter, $formatObject); foreach ($format_array as $format) { $formatnumber = $format[‘name’]; golfLeagueGetFormatName($formatnumber); //return ‘poop’; } } It’s just a warning that only shows up in developer mode. Disabling… Continue reading PHP illegal string offset warning