Okay
  Public Ticket #1745839
Unyson related php error
Closed

Comments

  • Niels started the conversation

    PHP version is 7.2 and when the plugin Unyson is active I get this error. Which ultimately means I can not create or edit any pages:

    Fatal error: Uncaught Error: Call to a member function get_options() on null in /home/insightu/public_html/wp-content/plugins/mwt-unyson-extensions/extensions/team/class-fw-extension-team.php:315 Stack trace: #0 /home/insightu/public_html/wp-includes/class-wp-hook.php(286): FW_Extension_Team->_filter_admin_add_post_options(Array, 'page') #1 /home/insightu/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #2 /home/insightu/public_html/wp-content/plugins/unyson/framework/core/components/theme.php(120): apply_filters('fw_post_options', Array, 'page') #3 /home/insightu/public_html/wp-content/plugins/unyson/framework/core/components/backend.php(662): _FW_Component_Theme->get_post_options('page') #4 /home/insightu/public_html/wp-includes/class-wp-hook.php(286): _FW_Component_Backend->_action_create_post_meta_boxes('page', Object(WP_Post)) #5 /home/insightu/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #6 /home/insightu/public_html/wp-includes/plugin.php(453): WP_Ho in /home/insightu/public_html/wp-content/plugins/mwt-unyson-extensions/extensions/team/class-fw-extension-team.php on line 315

  •  1,626
    Andrey replied

    Hello, Dear Niels !

    It seems, that this issue is caused by version of your PHP. Please check your current version of PHP and if it is lower than 5.6.33 – please switch your current PHP version to 5.6.33 It is possible to perform via cPanel or other similar control panel for the hosting. You may also ask your hosting support to upgrade PHP version. 

    Also let us know about result.

     Best Regards!

  • Niels replied

    Hi Andrey,

    I am using PHP version 7.2 and i have confirmed this using phpinfo(); So it is NOT the PHP-version - it is some other server konfiguration that causes the error.

    I am switching to another host to solve the issue.

    /Niels

  •  1,626
    Andrey replied

    Hello, Dear Niels !

    Please let us know about results after you will completely change your hosting.

    However we recommend you to use PHP 5.6.33 for theme.