• When a page isn’t found it showing a fatal error on-page. This is hearing my google search console coverage. Please check.

    Error:

    Home>
    Notice: Undefined offset: 0 in /home/bestqlng/public_html/wp-content/themes/magazine-edge/lib/breadcrump.php on line 151

    Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in /home/bestqlng/public_html/wp-content/themes/magazine-edge/lib/breadcrump.php:153 Stack trace: #0 /home/bestqlng/public_html/wp-content/themes/magazine-edge/lib/breadcrump.php(153): str_replace(‘<a’, ‘<a itemprop=”it…’, Object(WP_Error)) #1 /home/bestqlng/public_html/wp-content/themes/magazine-edge/lib/breadcrump.php(47): magazine_edge_breadcrumbss() #2 /home/bestqlng/public_html/wp-content/themes/magazine-edge/single.php(10): magazine_edge_breadcrumbs() #3 /home/bestqlng/public_html/wp-includes/template-loader.php(106): include(‘/home/bestqlng/…’) #4 /home/bestqlng/public_html/wp-blog-header.php(19): require_once(‘/home/bestqlng/…’) #5 /home/bestqlng/public_html/index.php(18): require(‘/home/bestqlng/…’) #6 {main} thrown in /home/bestqlng/public_html/wp-content/themes/magazine-edge/lib/breadcrump.php on line 153

    There has been a critical error on your website.

    Learn more about debugging in WordPress.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter amitchowdhury1990

    (@amitchowdhury1990)

    Also, added to the previous issue, there is another issue with this theme. on the sitemap link, I have got this issue https://bestfirestick.in/sitemap.xml

    Error:

    This page contains the following errors:
    error on line 2 at column 6: XML declaration allowed only at the start of the document
    Below is a rendering of the page up to the first error.

    After troubleshooting I have found that this theme causing the issue. When I switch the theme to the default one then it’s working fine.

Viewing 1 replies (of 1 total)
  • The topic ‘Error on page’ is closed to new replies.