• I am running Make with a child theme as suggested. Now I get warning messages (“Make notices”) telling me that some hooks are deprecated. How can I resolve these messages? I have looked into the API documentation but don’t understand how to find the deprecated code – in the functions.php and in the styles.css there is no such code. What am i supposed to do?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you post the notices you’re getting? We can help you out!

    Thread Starter frieauffcom

    (@frieauffcom)

    Error code: make_deprecated_hook
    
    The make_setting_defaults hook is deprecated since version 1.7.0 of Make. To add or modify theme settings, use the make_update_thememod_setting_definition() function instead. See the Theme Settings API documentation.

    (this one appears frequently)

    The ttfmake_prepare_data_section hook is deprecated since version 1.2.3 of Make. Use the make_prepare_data_section hook instead.
    
    The ttfmake_insert_post_data_sections hook is deprecated since version 1.2.3 of Make. Use the make_insert_post_data_sections hook instead.
    
    The ttfmake_builder_section_footer_links hook is deprecated since version 1.2.3 of Make. Use the make_builder_section_footer_links hook instead.
    
    The ttfmake_all_fonts hook is deprecated since version 1.2.3 of Make. Use the make_all_fonts hook instead.
    
    The ttfmake_show_footer_credit hook is deprecated since version 1.2.3 of Make. Use the make_show_footer_credit hook instead.
    
    The ttfmake_section_text_before_column hook is deprecated since version 1.2.3 of Make. Use the make_section_text_before_column hook instead.
    
    The ttfmake_section_text_after_column hook is deprecated since version 1.2.3 of Make. Use the make_section_text_after_column hook instead.
    
    The ttfmake_css hook is deprecated since version 1.2.3 of Make. Use the make_css hook instead.
    
    The make_css hook is deprecated since version 1.7.0 of Make. To add dynamic CSS rules, use the make_style_loaded hook instead.
    
    ttfmake_get_view is deprecated since version 1.7.0 of Make. Use make_get_current_view instead.
    
    ttfmake_get_view in /mnt/web016/c0/48/54387248/htdocs/wordpress/wp-content/plugins/make-plus/components/per-page/per-page.php on line 143
    ttfmake_get_default is deprecated since version 1.7.0 of Make. Use make_get_thememod_default instead.
    
    ttfmake_get_default in /mnt/web016/c0/48/54387248/htdocs/wordpress/wp-content/plugins/make-plus/components/typekit/customizer.php on line 283
    ttfmake_get_font_property_option_keys is deprecated since version 1.7.0 of Make. No alternative is available.
    
    ttfmake_get_font_property_option_keys in /mnt/web016/c0/48/54387248/htdocs/wordpress/wp-content/plugins/make-plus/components/typekit/customizer.php on line 215
    ttfmake_get_default is deprecated since version 1.7.0 of Make. Use make_get_thememod_default instead.
    
    ttfmake_get_default in /mnt/web016/c0/48/54387248/htdocs/wordpress/wp-content/plugins/make-plus/components/typekit/customizer.php on line 219

    (this one appears frequently as well)

    ttfmake_get_css is deprecated since version 1.7.0 of Make. To add a style rule, use the make_add_style_rule() function. See the Style API documentation.
    
    ttfmake_get_css in /mnt/web016/c0/48/54387248/htdocs/wordpress/wp-content/plugins/make-plus/components/post-list/post-list.php on line 453
    ttfmake_get_default is deprecated since version 1.7.0 of Make. Use make_get_thememod_default instead.
    
    ttfmake_get_default in /mnt/web016/c0/48/54387248/htdocs/wordpress/wp-content/plugins/make-plus/components/post-list/post-list.php on line 463
    ttfmake_get_css is deprecated since version 1.7.0 of Make. To add a style rule, use the make_add_style_rule() function. See the Style API documentation.
    
    ttfmake_get_css in /mnt/web016/c0/48/54387248/htdocs/wordpress/wp-content/plugins/make-plus/components/post-list/post-list.php on line 464
    ttfmake_get_view is deprecated since version 1.7.0 of Make. Use make_get_current_view instead.
    
    ttfmake_get_view in /mnt/web016/c0/48/54387248/htdocs/wordpress/wp-content/plugins/make-plus/components/per-page/per-page.php on line 170
    ttfmake_get_default is deprecated since version 1.7.0 of Make. Use make_get_thememod_default instead.
    
    ttfmake_get_default in /mnt/web016/c0/48/54387248/htdocs/wordpress/wp-content/plugins/make-plus/components/white-label/white-label.php on line 75

    Interested in the answer to this too….

    Hi @frieauffcom !

    It looks like most of those notices are being triggered by code in the Make Plus plugin, so you must be running an older version of it. If you have version 1.7 or higher of Make, you also need to use version 1.7 or higher of Make Plus, otherwise you will get those notices.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘resolving Make notices’ is closed to new replies.