-
I get an intermittent fatal error error message emailed to me . My website is still working . I’d like some pointers as to what I can do to fix this please
I have reinstalled generate press and also Gp premium. here is what the email details
WordPress version 6.8.2
Active theme: Generate Press Child (version 1.0.0)
GP premium 2.5.4
PHP version 8.3.20Error Details
=============
An error of type E_ERROR was caused in line 19 of the file /var/www/html/wp-content/themes/generatepress/header.php. Error message: Uncaught Error: Call to undefined function generate_do_microdata() in /var/www/html/wp-content/themes/generatepress/header.php:19
Stack trace:
#0 /var/www/html/wp-includes/template.php(810): require_once()
#1 /var/www/html/wp-includes/template.php(745): load_template()
#2 /var/www/html/wp-includes/general-template.php(48): locate_template()
#3 /var/www/html/wp-content/themes/generatepress/404.php(12): get_header()
#4 /var/www/html/wp-content/plugins/wp-cerber/cerber-load.php(5224): include(‘…’)
#5 /var/www/html/wp-content/plugins/wp-cerber/cerber-load.php(3067): cerber_404_page()
#6 /var/www/html/wp-includes/class-wp-hook.php(326): {closure}()
#7 /var/www/html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#8 /var/www/html/wp-includes/pluggable.php(1411): apply_filters()
#9 /var/www/html/wp-includes/pluggable.php(1263): wp_redirect()
#10 /var/www/html/wp-includes/class-wp-customize-manager.php(521): auth_redirect()
#11 /var/www/html/wp-includes/class-wp-hook.php(324): WP_Customize_Manager->setup_theme()
#12 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#13 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()
#14 /var/www/html/wp-settings.php(653): do_action()
#15 /var/www/html/wp-config.php(97): require_once(‘…’)
#16 /var/www/html/wp-load.php(50): require_once(‘…’)
#17 /var/www/html/wp-admin/admin.php(35): require_once(‘…’)
#18 /var/www/html/wp-admin/customize.php(13): require_once(‘…’)
#19 {main}
thrown -
Alvind
Hi there,
This is likely the same issue discussed in the following topic:
https://generate.support/topic/uncaught-error-call-to-undefined-function-generate_do_microdata/Could you try reinstalling the theme? That solution resolved the issue for the original poster in that thread.
- You must be logged in to reply to this topic.