Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
August 25, 2021 at 11:09 pm #1318351
Hello,
i updated to the latest Enfold version and it had a conflict with my child theme. Please see errors below. Appreciate your suggestion on how to fix the issues.
Thanks,
Nik
Notice: Undefined variable: permalinks in /home/abc232/public_html/example.com/wp-content/themes/enfold-child/functions.php on line 33 Warning: Cannot modify header information - headers already sent by (output started at /home/abc232/public_html/example.com/wp-content/themes/enfold-child/functions.php:33) in /home/abc232/public_html/example.com/wp-includes/functions.php on line 6584 Warning: Cannot modify header information - headers already sent by (output started at /home/abc232/public_html/example.com/wp-content/themes/enfold-child/functions.php:33) in /home/abc232/public_html/example.com/wp-content/themes/enfold/framework/php/function-set-avia-backend.php on line 744 Warning: Cannot modify header information - headers already sent by (output started at /home/abc232/public_html/example.com/wp-content/themes/enfold-child/functions.php:33) in /home/abc232/public_html/example.com/wp-admin/includes/misc.php on line 1310 Warning: Cannot modify header information - headers already sent by (output started at /home/abc232/public_html/example.com/wp-content/themes/enfold-child/functions.php:33) in /home/abc232/public_html/example.com/wp-admin/admin-header.php on line 9
BELOW IS THE CHILD THEME INFO. ON LINE 33
“singular_label” => “Features Category”,
“rewrite” => array(‘slug’=>_x($permalinks[‘portfolio_entries_taxonomy_base’],’URL slug’,’avia_framework’), ‘with_front’=>true),// portfolio args add_action( 'init', 'init_reg_portfolio', 50 ); function init_reg_portfolio() { add_filter('avf_portfolio_cpt_args', 'avf_portfolio_cpt_args_mod', 50, 1); $tax_args = array( "hierarchical" => true, "label" => "Features Categories", "singular_label" => "Features Category", "rewrite" => array('slug'=>_x($permalinks['portfolio_entries_taxonomy_base'],'URL slug','avia_framework'), 'with_front'=>true), "query_var" => true ); $avia_config['custom_taxonomy']['portfolio']['portfolio_entries']['args'] = $tax_args; register_taxonomy("portfolio_entries", array("portfolio"), $tax_args); } add_action( 'after_setup_theme', 'init_reg_portfolio' ); function avf_portfolio_cpt_args_mod($args) { $labels = array( 'name' => _x('Features', 'post type general name','avia_framework'), 'singular_name' => _x('Features', 'post type singular name','avia_framework'), 'add_new' => _x('Add New', 'portfolio','avia_framework'), 'add_new_item' => __('Add New Portfolio Entry','avia_framework'), 'edit_item' => __('Edit Portfolio Entry','avia_framework'), 'new_item' => __('New Portfolio Entry','avia_framework'), 'view_item' => __('View Portfolio Entry','avia_framework'), 'search_items' => __('Search Portfolio Entries','avia_framework'), 'not_found' => __('No Portfolio Entries found','avia_framework'), 'not_found_in_trash' => __('No Portfolio Entries found in Trash','avia_framework'), 'parent_item_colon' => '' ); $args['labels'] = $labels; return $args; }
August 31, 2021 at 3:31 am #1319053Hey Nik,
Sorry for the delay. We provided a reply in the following thread. https://kriesi.at/support/topic/enfold-v4-8-6-2-causing-errors-to-portfolio/
We will close this thread for now. Thank you for your patience.
Best regards,
Ismael -
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- The topic ‘Theme Issues’ is closed to new replies.