I OK'd out of the error and the custom field displayed as expected, but on subsequent tests it was no longer there. I checked CHMOD in the storage/cache folder - all 755. I cleared the storage cache folder except for index.html. I re-saved the the custom field in admin. All without joy.SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Warning</b>: unlink(/home/DOMAIN/storage/cache/cache.catalog.language.1545506446): No such file or directory in <b>/home/DOMAIN/public_html/system/library/cache/file.php</b> on line <b>68</b>[]
Line 68 of /system/library/cache/file.php is the last line of this snippet..
Code: Select all
public function delete($key) {
$files = glob(DIR_CACHE . 'cache.' . preg_replace('/[^A-Z0-9\._-]/i', '', $key) . '.*');
if ($files) {
foreach ($files as $file) {
if (file_exists($file)) {
unlink($file);