All settings pages just read "{"
I am running a fresh install of Unyson 2.7.21 and latest Wordpress 5.0.3, with a fresh download of Kerge WP template with demo content. The Edit Page was not functional for all pages until I applied a hack listed here which was to add to the following file:
./wp-content/plugins/unyson/framework/extensions/megamenu/includes/functions.php
This code:
if (!function_exists('_thz_filter_disable_block_editor_pt')) { function _thz_filter_disable_block_editor_pt($use_block_editor, $post_type) { $use_block_editor = false; return $use_block_editor; } } add_filter('use_block_editor_for_post_type', '_thz_filter_disable_block_editor_pt', 10, 2);
With or without this all settings pages return "{"
Any pointers? :O
PS. It's PHP5.3.3 which I can't upgrade further but nothing I've read suggests this would cause such a problem.
PS. It's PHP5.3.3 which I can't upgrade further but nothing I've read suggests this would cause such a problem.
You yourself answered your question, the problem is that your server uses the old version of PHP. WordPress Host Requirements - https://wordpress.org/about/requirements/
Regarding the code in functions.php, this was a temporary solution for WordPress 5, in the next version of the theme, we will remove this code. In more detail here - https://github.com/ThemeFuse/Unyson/issues/3660