Selecting "Manage Styles" works ok - but when options are saved (which works), the next screen simply shows:
Theme/Style options (kinetic)
Done: The new settings have been saved at 10:45:52
The page source shows:
<p> == TESTING ERROR MODE == </p><pre><br />
<b>Fatal error</b>: Uncaught exception 'ErrorException' with message 'Serendipity error: Invalid argument supplied for foreach()' in /home/content/kinetic-clean/include/compat.inc.php:118
Stack trace:
#0 /home/content/kinetic-clean/include/functions_plugins_admin.inc.php(471): errorToExceptionHandler(Object(template_option), Array, 'kinetic', 'kinetic', Array, true, true, true, true, 'template', Array)
#1 /home/content/kinetic-clean/include/admin/templates.inc.php(119): serendipity_plugin_config()
#2 /home/content/kinetic-clean/serendipity_admin.php(136): include('/home/content/c...')
#3 {main}
thrown in <b>/home/content/kinetic-clean/include/compat.inc.php</b> on line <b>118</b><br />
Line 119 in templates.inc.php is the last line of:
Code: Select all
serendipity_plugin_config(
$template_options,
$template_vars,
$serendipity['template'],
$serendipity['template'],
$template_options->keys,
true,
true,
true,
true,
'template',
$template_config_groups
);
No error is shown with production=true.