OpenCart Guide · 1 min read · Updated

Opencart error xmlParseEntityRef: no name, rendering of the page

xmlParseEntityRef: no name

In Opencart we got the following error when we activated the Google Sitemap from Extensions>> Product Feed, then when we visited the google sitemap URL like Google Sitemap http://webocreation.com/index.php?route=feed/google_sitemap

This page contains the following errors:
error on line 1 at column 5844: xmlParseEntityRef: no name
Below is a rendering of the page up to the first error

xmlParseEntityRef: no name
xmlParseEntityRef: no name

How to remove it?

Go to PHPMyAdmin of the site and choose the database that you are using and in the oc_url_alias table, “oc_ is the prefix of the table”, search for the & and replace with something else like ‘-‘ or ‘_’ etc and the above error will be removed.

Let me know if you get something else and for support.

Rupak Nepali
Written byRupak Nepali

Rupak Nepali is a web developer, manage Webocreation website and the author of six books:
Getting Started with OpenCart Module Development (Packt, 2013),
OpenCart Theme and Module Development (Packt, 2015),
OpenCart 4: Dev Guide for Themes & Extensions (2024),
OpenCart 4: User Manual (2025),
Cloudflare for the Enterprise Website (2026) and
The Technical Web Guide for Marketers (2026).
Rupak has built OpenCart stores and extensions since 2010, has published more than 600 tutorials on Webocreation, and shares free OpenCart extensions on GitHub.
Find Rupak on
GitHub | Amazon | LinkedIn | X | YouTube.

2 comments

Leave a Reply

Your email address will not be published. Required fields are marked *