• After updating to the latest version this error is displayed:
    Fatal error: Uncaught Error: Call to undefined method CZR_utils::czr_fn_is_secondary_menu_enabled() in /home/anankeco/public_html/clone1/wp-content/themes/customizr-child/inc/czr-front.php:765 Stack trace: #0 /home/anankeco/public_html/clone1/wp-includes/class-wp-hook.php(298): CZR_menu->czr_fn_set_menu_hooks(Object(WP)) #1 /home/anankeco/public_html/clone1/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /home/anankeco/public_html/clone1/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /home/anankeco/public_html/clone1/wp-includes/class-wp.php(746): do_action_ref_array(‘wp’, Array) #4 /home/anankeco/public_html/clone1/wp-includes/functions.php(955): WP->main(”) #5 /home/anankeco/public_html/clone1/wp-blog-header.php(16): wp() #6 /home/anankeco/public_html/clone1/index.php(17): require(‘/home/anankeco/…’) #7 {main} thrown in /home/anankeco/public_html/clone1/wp-content/themes/customizr-child/inc/czr-front.php on line 765

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there,
    sorry for this issue.

    the best way to alter the Customizr theme is by using action and filters in your child-theme functions.php.
    You can find them through the whole theme’s code.
    Copying a whole file like that one in your child-theme functions.php is not very recommended, as it will be hard to you to maintain when updating the theme.

    So either you can use hooks when available, or each time you update the theme, make sure to port the parent theme changes to the files you copied in your child-theme into your copied version.

    In this case the error comes from your czr-front.php copy in your child-theme which is not anymore aligned to the rest of the theme.
    You might want to update it so to avoid this kind of issue.

    Hope this helps.

    Best regards.

    Thread Starter Narciso Viciana

    (@nv50)

    Hi, thanks I have been able to solve it by updating the crz-front of my child-theme.
    I will try several things and if all goes well I will update my production site.
    Greetings from Calahonda (southern Spain).

    Glad you solved @nv50. 😉

    Would you mind marking the topic as resolved?

    Greetings from Nice (southern France) 😉

    Thread Starter Narciso Viciana

    (@nv50)

    Topic solved quickly … thanks team customizr

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Crash update .17 version’ is closed to new replies.