PHP Fatal error: Uncaught ValueError
-
i get this error when an amp page is called. My error log is spammed with this.
thrown in plugins/accelerated-mobile-pages/templates/features.php on line 8283 PHP Fatal error: Uncaught ValueError: DOMDocument::loadHTML(): Argument #1 ($source) must not be empty in Stack trace: #0 wp-content/plugins/accelerated-mobile-pages/templates/features.php(8283): DOMDocument->loadHTML('') #1 /wp-includes/class-wp-hook.php(303): ampforwp_remove_duplicate_canonical('') #2 wp-includes/plugin.php(189): WP_Hook->apply_filters('', Array) #3 wp-content/plugins/accelerated-mobile-pages/includes/features/functions.php(280): apply_filters('ampforwp_the_co...', '') #4 [internal function]: ampforwp_the_content_filter_full('', 9) #5 wp-includes/functions.php(5107): ob_end_flush() #6 wp-includes/class-wp-hook.php(303): wp_ob_end_flush_all('') #7 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array) #8 /wp-includes/plugin.php(470): WP_Hook->do_action(Array) #9 /wp-includes/load.php(1097): do_action('shutdown') #10 [internal function]: shutdown_action_hook() #11 {main} thrown in wp-content/plugins/accelerated-mobile-pages/templates/features.php on line 8283The amp pages look fine
- This topic was modified 4 years, 6 months ago by .
- This topic was modified 4 years, 6 months ago by .
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘PHP Fatal error: Uncaught ValueError’ is closed to new replies.