ok, mysqlcheck done, no errors reported.
compared the schema of our install with a fresh 2.4 install - all is as it should be ( a few missing comments on tables, and fields in different orders, but nothing missing or corrupted).
The error being written to php's err.log is as above:
Exception ignored in shutdown function array (
0 =>
tool_log\log\manager::__set_state(array(
'readers' =>
array (
'logstore_standard' =>
logstore_standard\log\store::__set_state(array(
'logguests' => '1',
'manager' => NULL,
'component' => 'logstore_standard',
'store' => '',
'buffer' =>
array (
),
'buffersize' => '50',
'count' => 0,
)),
),
'writers' =>
array (
'logstore_standard' =>
logstore_standard\log\store::__set_state(array(
'logguests' => '1',
'manager' => NULL,
'component' => 'logstore_standard',
'store' => '',
'buffer' =>
array (
),
'buffersize' => '50',
'count' => 0,
)),
),
'stores' =>
array (
'logstore_standard' =>
logstore_standard\log\store::__set_state(array(
'logguests' => '1',
'manager' => NULL,
'component' => 'logstore_standard',
'store' => '',
'buffer' =>
array (
),
'buffersize' => '50',
'count' => 0,
)),
),
)),
1 => 'dispose',
):Error writing to database
The errors outputted to page are:
Notice: Undefined property: stdClass::$availability in moodle27\course\lib.php on line 1060
Warning: array_fill(): Number of elements must be positive in moodle27\lib\dml\mysqli_native_moodle_database.php on line 1245
Warning: implode(): Invalid arguments passed in \moodle27\lib\dml\mysqli_native_moodle_database.php on line 1245
Warning: var_export does not handle circular references in \moodle27\lib\classes\shutdown_manager.php on line 83
Any help gratefully received