• Hi Guys,

    I updated my wordpress to 5.2.3 and my php to 7.2 yesterday.. I thought everything went smoothly as website still works fine. However got a email from wordpress saying i have a technical issue with my theme. I am unable to edit any of my pages i just get a blank screen when i got to do so. When i click on the kallyas theme (which i am using) i get the following message – The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

    i have disabled all my plugins and then re activated them 1 by 1 and all was fine, did it with my theme then got the problem. WordPress have emailed me this code does anyone know how i fix it?

    Error Details
    =============
    An error of type E_ERROR was caused in line 311 of the file /home/sites/kingswellkitchensandbedrooms.co.uk/public_html/wp-content/themes/kallyas/admin/framework/class-zn-html.php. Error message: Uncaught Error: Function name must be a string in /home/sites/kingswellkitchensandbedrooms.co.uk/public_html/wp-content/themes/kallyas/admin/framework/class-zn-html.php:311
    Stack trace:
    #0 /home/sites/kingswellkitchensandbedrooms.co.uk/public_html/wp-content/themes/kallyas/admin/framework/function-zn-metabox.php(120): zn_html->zn_render_element(Array)
    #1 /home/sites/kingswellkitchensandbedrooms.co.uk/public_html/wp-admin/includes/template.php(1310): zn_metabox->zn_render_meta_box(Object(WP_Post), Array)
    #2 /home/sites/kingswellkitchensandbedrooms.co.uk/public_html/wp-admin/includes/post.php(2250): do_meta_boxes(Object(WP_Screen), ‘normal’, Object(WP_Post))
    #3 /home/sites/kingswellkitchensandbedrooms.co.uk/public_html/wp-admin/edit-form-blocks.php(404): the_block_editor_meta_boxes()
    #4 /home/sites/kingswellkitchensandbedrooms.co.uk/public_html/wp-admin/post.php(178): include(‘/home/sites/kin…’)
    #5 {main}
    thrown

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    The error message is fairly clear:

    Error message: Uncaught Error: Function name must be a string in /home/sites/kingswellkitchensandbedrooms.co.uk/public_html/wp-content/themes/kallyas/admin/framework/class-zn-html.php:311

    Go to line 311 in that file in your theme and see what the error is.

    Thread Starter packham1

    (@packham1)

    Hi Samuel.

    Thanks for your response – I am fairly new to this so please bare with me.

    I have logged into my host site and found the file – searched to line 311 and this is the coding –
    if ( !$option[‘group_sortable’] ) {

    How do I work out the issue?

    The errors seem to indicate a theme issue! That’s a commercial theme…

    You should probably contact your theme’s author and ask them for help. There is probably an upgrade as they say on their site the theme works well with everything they have tested with and your problem occurred right after you upgraded PHP and your WordPress.

    The volunteers here have no access to commercial themes!

    Alternatively, you might try swapping out your theme for a standard or default theme from the repository.

    https://www.ads-software.com/themes/browse/popular/

    Hope this helps. Let us know if you need anything else.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    I have logged into my host site and found the file – searched to line 311 and this is the coding –
    if ( !$option[‘group_sortable’] ) {

    How do I work out the issue?

    Find the correct line. That one ain’t it. The error message says “Function name must be a string” but that line doesn’t contain a function call. So you’re looking at the wrong place.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Theme problem after updating to wordpress 5.2.3 – please can someone help?’ is closed to new replies.