Jump to content
  • 0

Rathena fluxcp problem(cant post in web support)


Question

Posted

I was having a problem with donates not giving the credits and it was because i was using older flux cp so i got the new one from rathena github.I configured everything and it get 

Warning: array_key_exists() expects parameter 2 to be array, string given in /home/rogalaxy/public_html/lib/Flux/Config.php on line 113

When i go to the site

Ive tried starting with new copy and redoing multiple times anyone know how to fix this thank you

7 answers to this question

Recommended Posts

Posted (edited)
		$currentKey = $keys[$size];
		if (array_key_exists($currentKey, $base)) {
			$value = &$base[$currentKey];
			if (is_array($value) && $configObjectIfArray) {
				$configClassName = get_class($this);
				return new $configClassName($value);
			}
			elseif ($value instanceOf Flux_Config && !$configObjectIfArray) {
				return $value->toArray();
			}
			else {
				return $value;
			}
		}
		else {
			// We want to avoid a traditional PHP error when referencing
			// non-existent keys, so we'll silently return null as an
			// alternative 
			return null;
		}
	}
	
	/**

That starts at 112 from my config in the lib file

Edited by rom3r
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...