Hello!
logins: support / DXBBi1hk1!QZvvf4VEJV)N3! (login first to see the site)
View in question: hidden link
Page to see it break: hidden link
The other CPTs are working fine and outputting the data, but the providers type causes a fatal error
Not sure if it's a theme issue or types, but all the other views/CPTs work.
Fatal error: Uncaught Error: Call to undefined function custom_rel_nofollow() in /home2/technir1/public_html/demo/andreadavies/wp-content/themes/Divi-child/lib/provider.php:239 Stack trace: #0 /home2/technir1/public_html/demo/andreadavies/wp-includes/class-wp-hook.php(286): provider_the_content('<div class="row...') #1 /home2/technir1/public_html/demo/andreadavies/wp-includes/plugin.php(203): WP_Hook->apply_filters('<div class="row...', Array) #2 /home2/technir1/public_html/demo/andreadavies/wp-content/plugins/wp-views/application/models/shortcode/post/body.php(261): apply_filters('the_content', '') #3 /home2/technir1/public_html/demo/andreadavies/wp-content/plugins/wp-views/application/models/shortcode/base_view.php(30): WPV_Shortcode_Post_Body->get_value(Array, '') #4 /home2/technir1/public_html/demo/andreadavies/wp-includes/shortcodes.php(319): WPV_Shortcode_Base_View->render(Array, '', 'wpv-post-body') #5 [internal function]: do_shortcode_tag(Array) #6 /home2/technir1/public_html/demo/andreadavies/wp-includes/shortcod in /home2/technir1/public_html/demo/andreadavies/wp-content/themes/Divi-child/lib/provider.php on line 239
Nigel
Supporter
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/London (GMT+00:00)
Hi Marco
The error message comes from the child theme.
Could you first please switch to the Divi parent theme and see if you still see the error?
Also, the provider post type, it is not registered with Types, what is responsible for creating it?
Hi,
The CPTs are created manually (existed before types). I can't deactivate the child theme as it will remove the CPTs that have been created.
The others all work fine, it's just the provider CPT.
Cheers,
Marco
My issue is resolved now. Thank you!