Support » Theme: Customizr » White page after updating WordPress

  • Hi,

    I had this warnings:
    Backend fatal error: PHP Fatal error: Uncaught Error: Call to undefined method CZR___::czr_fn_is_customizing() in /wp-content/themes/customizr-child/inc/czr-front.php:9724\nStack trace:\n#0 /wp-includes/class-wp-hook.php(298): CZR_footer_main->czr_fn_write_sticky_footer_inline_css(‘\\r\\n …’)\n#1 /wp-includes/plugin.php(203): WP_Hook->apply_filters(‘\\r\\n …’, Array)\n#2 /wp-content/themes/customizr/inc/czr-init.php(4257): apply_filters(‘tc_user_options…’, ”)\n#3 /wp-includes/class-wp-hook.php(298): CZR_resources->czr_fn_enqueue_front_styles(”)\n#4 /wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)\n#5 in /wp-content/themes/customizr-child/inc/czr-front.php on line 9724\n

    Backend log: PHP Warning: array_filter() expects parameter 2 to be a valid callback, class ‘CZR_utils’ does not have a method ‘czr_fn_category_id_exists’ in /wp-content/themes/customizr-child/inc/czr-front.php on line 5375\n, referer:

    Site is online again because I now -hope temporally- renamed my file: customizr-child/inc/czr-front.php

    Thanks, cheers,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Annah,
    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.

    Hope this helps.

    Best regards.

    Thank you!
    I want navigation with pages, how do i do that in functions.php? Is there a hook?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘White page after updating WordPress’ is closed to new replies.