Skip Navigation

[Resolved] Page error on category archive page if no post was assigned to category

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user was getting a fatal error on their site.

Solution:

What I would recommend that you do is to enable the wordpress debugging to know what this error is saying.
https://www.a2hosting.com/kb/installable-applications/optimization-and-configuration/wordpress2/debugging-wordpress

Normally errors are caused by plugin conflicts so I would recommend temporarily disabling the non-toolset plugins.

This support ticket is created 5 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 6 replies, has 2 voices.

Last updated by thomasB-2 5 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#1188181

I am trying to: See the category page for the taxonomy machine for "12-colour", normally i should see the text from [wpv-no-items-found]
Link to a page where the issue can be seen: hidden link

I expected to see: normally i should see the text from [wpv-no-items-found]

Instead, I got: an empty page with an empty Body Tag.

For taxonomy values where a post was assigned all works perfect. f.e, hidden link

#1188229

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Thomas,

There seems to be an error generated on this page.

What I recommend is to enable the wordpress debugging so we can know exactly what the error is saying.

To enable the wordpress debug you can have a look at the link below.
hidden link

Thanks,
Shane

#1188252

Hi, here the DebugLog infos.

[21-Jan-2019 15:40:32 UTC] PHP Fatal error: Uncaught Error: Call to undefined function et_fb_get_layout_type() in /home/www/wp-content/themes/Divi/includes/builder/framework.php:528
Stack trace:
#0 /home/www/wp-includes/class-wp-hook.php(288): et_builder_body_classes(Array)
#1 /home/www/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
#2 /home/www/wp-includes/post-template.php(778): apply_filters('body_class', Array, Array)
#3 /home/www/wp-includes/post-template.php(561): get_body_class(Array)
#4 /home/www/wp-content/themes/Divi/header.php(29): body_class()
#5 /home/www/wp-includes/template.php(688): require_once('/home/www/wp-co...')
#6 /home/www/wp-includes/template.php(647): load_template('/home/www/wp-co...', true)
#7 /home/www/wp-includes/general-template.php(41): locate_template(Array, true)
#8 /home/www/wp-content/themes/Divi/index.php(1): get_header()
#9 /home/www/wp-includes/template-loader.php(74): include('/home/www/wp-co...')
#10 /home/www/wp-blog-header.php(19): require_once('/home/www/wp-in...')
#11 /home/www/index.php(17 in /home/www/wp-content/themes/Divi/includes/builder/framework.php on line 528

#1188258

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Thomas,

This seems like an issue with the divi builder.

I would recommend opening a ticket with the divi team to have them look at this for you since the error is coming from their theme.

Thanks,
Shane

#1188299

ok, i will ask them.

#1188327

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Thomas,

If there are no further questions on this one then we can close here.

Thanks,
Shane

#1191482

My issue is resolved now. Thank you!