RagnarokOnline2015 4 Posted August 24, 2016 Hello dear friends! Help solve the problem please Fatal error: Call to a member function toArray() on boolean in /var/www/public/gold-ro.ru/lib/Flux.php on line 341 Quote Share this post Link to post Share on other sites
0 jupeto 3 Posted August 29, 2016 (edited) Hi, I don't know why you got that error in the first place but you cannot use toArray() method on your non-object variable ($config). Make sure that the result must be an object type.If you are in a hurry and want a quick fix; Find: public static function parseServersConfigFile($filename) { $config = self::parseConfigFile($filename); Add below: $config = (object) $config; This is just to ensure that the result will be converted to an object type variable. Edited August 29, 2016 by jupeto Quote Share this post Link to post Share on other sites
Hello dear friends! Help solve the problem please
Fatal error: Call to a member function toArray() on boolean in /var/www/public/gold-ro.ru/lib/Flux.php on line 341
Share this post
Link to post
Share on other sites