Support Forum
24-Sep-2019 15:50:46 UTC] PHP Notice: unserialize(): Error at offset 0 of 21 bytes in /srv/www/wp-content/object-cache.php on line 559
[24-Sep-2019 15:50:46 UTC] PHP Stack trace:
[24-Sep-2019 15:50:46 UTC] PHP 1. {main}() /srv/www/wp-admin/post.php:0
[24-Sep-2019 15:50:46 UTC] PHP 2. include() /srv/www/wp-admin/post.php:178
[24-Sep-2019 15:50:46 UTC] PHP 3. the_block_editor_meta_boxes() /srv/www/wp-admin/edit-form-blocks.php:404
[24-Sep-2019 15:50:46 UTC] PHP 4. do_meta_boxes() /srv/www/wp-admin/includes/post.php:2250
[24-Sep-2019 15:50:46 UTC] PHP 5. RW_Meta_Box->show() /srv/www/wp-admin/includes/template.php:1310
[24-Sep-2019 15:50:46 UTC] PHP 6. RWMB_Field::call() /srv/www/wp-content/plugins/meta-box/inc/meta-box.php:259
[24-Sep-2019 15:50:46 UTC] PHP 7. RWMB_Object_Choice_Field::show() /srv/www/wp-content/plugins/meta-box/inc/field.php:582
[24-Sep-2019 15:50:46 UTC] PHP 8. RWMB_Field::call() /srv/www/wp-content/plugins/meta-box/inc/fields/object-choice.php:28
[24-Sep-2019 15:50:46 UTC] PHP 9. RWMB_Post_Field::query() /srv/www/wp-content/plugins/meta-box/inc/field.php:582
[24-Sep-2019 15:50:46 UTC] PHP 10. wp_cache_get_last_changed() /srv/www/wp-content/plugins/meta-box/inc/fields/post.php:144
[24-Sep-2019 15:50:46 UTC] PHP 11. wp_cache_get() /srv/www/wp-includes/functions.php:6550
[24-Sep-2019 15:50:46 UTC] PHP 12. WP_Object_Cache->get() /srv/www/wp-content/object-cache.php:107
[24-Sep-2019 15:50:46 UTC] PHP 13. unserialize() /srv/www/wp-content/object-cache.php:559
Hi Paul,
I see you're using a cache plugin which supports object cache. The error comes from that part (file wp-content/object-cache.php
). Can you please check that? Maybe try another cache plugin, or update it to the latest version.
FYI: Meta Box uses WordPress function wp_cache_get_last_changed
, and this function calls object cache.
We're using https://github.com/pressjitsu/pj-object-cache-red and there were no issues with it so far. Decided to let you know.
I see. That's a way to use Redis (object cache) to cache the whole page. Can you try deactivate the plugin to see if the problem still occurs. And also check your disk/ram space. Maybe Redis uses too much space, which cause the data broken, and can't be unserialized.