y) { $dot = strpos($key, '.'); return $dot === false ? $key : substr($key, 0, $dot); } /** * Resolve the config key, add `app.` prefix when the key is short and * not a known top-level config name (matches eagerly-loaded data OR a * deferred file). Without the file lookup, `get('i18n')` would resolve * to `app.i18n` before the i18n config file had been touched. * * @param string $key * @return string */ protected function resolveKey($key) { if (!$key) return $key; if ( array_key_exists($key, $this->data) || array_key_exists($key, $this->files) ) { return $key; } return str_contains($key, '.') ? $key : "app.{$key}"; } }
Fatal error: Uncaught Error: Class "FluentForm\Framework\Foundation\Config" not found in /htdocs/wp-content/plugins/fluentform/vendor/wpfluent/framework/src/WPFluent/Foundation/Application.php:282 Stack trace: #0 /htdocs/wp-content/plugins/fluentform/vendor/wpfluent/framework/src/WPFluent/Foundation/Application.php(207): FluentForm\Framework\Foundation\Application->loadConfigIfExists() #1 /htdocs/wp-content/plugins/fluentform/vendor/wpfluent/framework/src/WPFluent/Foundation/Application.php(126): FluentForm\Framework\Foundation\Application->bootstrapApplication() #2 /htdocs/wp-content/plugins/fluentform/boot/app.php(34): FluentForm\Framework\Foundation\Application->__construct('/htdocs/wp-cont...') #3 /htdocs/wp-content/plugins/fluentform/fluentform.php(30): {closure}('/htdocs/wp-cont...') #4 /htdocs/wp-content/plugins/fluentform/fluentform.php(31): {closure}(Object(Closure), Object(Composer\Autoload\ClassLoader)) #5 /htdocs/wp-settings.php(589): include_once('/htdocs/wp-cont...') #6 /htdocs/wp-config.php(98): require_once('/htdocs/wp-sett...') #7 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #8 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #9 /htdocs/index.php(17): require('/htdocs/wp-blog...') #10 {main} thrown in /htdocs/wp-content/plugins/fluentform/vendor/wpfluent/framework/src/WPFluent/Foundation/Application.php on line 282