Issue with portals in the newest version?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • emillod
    Active Community Member
    • Apr 2017
    • 1405

    Issue with portals in the newest version?

    Hello Guys,
    i can see on one instance of EspoCRM which is running on version 7.0.9 a lot of errors related to portal:
    [2022-02-16 08:44:28] WARNING: E_WARNING: Undefined variable $basePath {"code":2,"message":"Undefined variable $basePath","file":"/home/www/domains/domain.com/public/portal/index.php","line":64} []

    Is it possible that error is related to the update? Or configuration? There is no custom in code, only custom domain which is set in portal configuration.
  • yuri
    Member
    • Mar 2014
    • 8453

    #2
    Hi,

    Try to add
    PHP Code:
    $basePath = null; 
    
    to here https://github.com/espocrm/espocrm/b.../index.php#L45
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...