A SPECIAL NOTE:
This site is protected with htaccess, which means that before you access wp-admin you have to visit the site root of the site to insert the credentials and ONLY THEN you will be able to access wp-admin. The credentials are:
I am trying to:
Create a layout page, like i've done it several times, including in previous Avada themes without any problem.
If you visit the Portfolio page, you will see a Toolset View... pressing any project will lead you to the page with the problem.
Instead, I got:
Avada behaving very uncommon.
1 - I insert the code to show the post title for example, the markup is there in the html but it doesn't show the title in the frontend. But i can display a custom field.
2 - The main menu markup is there in the HTML but the text is not, it only shows <span class="menu-text"></span>
3 - The same thing happens with the secondary menu (which is on the top right side of the site)
3 - There is a widget on the footer that is missing
This only happens in the CPT layout. Views has no problems..
Deactivating all plugins except toolset doesn't solve the issue.
Updated Toolset, WordPress and Avada to the latest version.
Activated WP Debug and i see no error messages except one in the meta section:
Notice: Undefined index: projeto in /home/gw356uym/public_html/novosite/wp-content/themes/Avada/includes/lib/inc/functions.php on line 213
This is code inside the functions.php mentioned above. the line 213 is where you see line 10 below.
// Render rest of meta data.
// Render categories.
if ( $settings['post_meta_cats'] ) {
$post_type = get_post_type();
$taxonomies = array( 'avada_portfolio' => 'portfolio_category', 'avada_faq' => 'faq_category', 'product' => 'product_cat', 'tribe_events' => 'tribe_events' );
ob_start();
if ( 'post' === $post_type ) {
the_category( ', ' );
} elseif ( 'page' !== $post_type ) {
the_terms( get_the_ID(), $taxonomies[ $post_type ], '', ', ' );
}
$categories = ob_get_clean();
if ( $categories ) {
/* translators: The categories list. */
$metadata .= ( $settings['post_meta_tags'] ) ? sprintf( esc_html__( 'Categories: %s', 'Avada' ), $categories ) : $categories;
$metadata .= '<span class="fusion-inline-sep">|</span>';
}
}