Skip to content

ErrorException simplexml_load_string(): Entity: line 1: parser error : xmlParseEntityRef: no name at /var/www/castopod/app/Entities/Podcast.php:679

Describe the bug

[Summarize the bug encountered concisely]

Steps to reproduce

  1. [First step]
  2. [Second step]
  3. [and so on...]

Expected behavior

[What you expected to happen]

Actual behavior

[What actually happened]

Relevant logs and/or screenshots

Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.

Context

  • Castopod: [which version (or branch, if applicable) the bug is in]
  • OS: [e.g. Ubuntu server]
  • Browser: [e.g. chrome, safari]
  • Web server: [eg. Apache]
  • [any other relevant context...]

Possible fixes

[If you can, link to the line of code that might be responsible for the problem]

ErrorException: simplexml_load_string(): Entity: line 1: parser error : xmlParseEntityRef: no name in /var/www/castopod/app/Entities/Podcast.php:679 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler() #1 (closed) /var/www/castopod/app/Entities/Podcast.php(679): simplexml_load_string() #2 (closed) /var/www/castopod/vendor/codeigniter4/framework/system/Entity/Entity.php(451): App\Entities\Podcast->setCustomRssString() #3 (closed) /var/www/castopod/vendor/codeigniter4/framework/system/Entity/Entity.php(138): CodeIgniter\Entity\Entity->__set() #4 (closed) /var/www/castopod/vendor/codeigniter4/framework/system/Entity/Entity.php(119): CodeIgniter\Entity\Entity->fill() #5 (closed) /var/www/castopod/modules/Admin/Controllers/PodcastController.php(211): CodeIgniter\Entity\Entity->__construct() #6 (closed) /var/www/castopod/modules/Admin/Controllers/PodcastController.php(43): Modules\Admin\Controllers\PodcastController->attemptCreate() #7 (closed) /var/www/castopod/vendor/codeigniter4/framework/system/CodeIgniter.php(901): Modules\Admin\Controllers\PodcastController->_remap() #8 (closed) /var/www/castopod/vendor/codeigniter4/framework/system/CodeIgniter.php(457): CodeIgniter\CodeIgniter->runController() #9 (closed) /var/www/castopod/vendor/codeigniter4/framework/system/CodeIgniter.php(340): CodeIgniter\CodeIgniter->handleRequest() #10 (closed) /var/www/castopod/public/index.php(73): CodeIgniter\CodeIgniter->run() #11 (closed) {main}