Hi,
I used "EntityManager" in a custom file for a table named as "pages". My code works on my local development server (xampp/windows 11).
After uploading to my production server I see an error message thet says "/home/myuser/domains/SITE.COM/public_html/vendor/doctrine/persistence/src/Persistence/Mapping/MappingException.php(80): Class 'PHPMaker2024\TELEHEALTH\Entity\page' does not exist".
code of the custom page:
$em = EntityManager();
$article = $em->getRepository(Entity\page::class)->find(Route("pid"));
CurrentPageTitle($article->getPageTitle());
What's the problem and how to fix it?
Thanks