Fatal error bootstrap.php.cache

  1. 2 months ago
    Edited 2 months ago by RandomUser

    Hello there!
    Brand new mautic random user here!
    First of all, wow! just discovered mautic today, installed it "to see what this is" and love it. Really straightforward and powerful.
    But...I already have a problem haha.
    I updated the configuration settings, I added my domain inside the trusted domain list. I used the pattern as mentioned in the help, something like *\.?mydomain.com$ (god I "love" regex). Saved it...and boom:

    "The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator."

    I deleted the cache folder...Tried to edit that bootstrap file...nothing changes. This is the error message I get:

    PHP Warning: preg_match(): Compilation failed: nothing to repeat at offset 0 in /var/mysite/mautic/app/bootstrap.php.cache on line 952, referer: https://mysite.com/mautic/s/config/edit

    Can someone please help me to solve this problem...The part of the bootstrap file at line 952 is about the trusted domains, that's why I talked about it before...because it looks like something went wrong here, but this leaves me with no access at all to mautic now...


    EDIT: alright, fixed it by deleting bootstrap.php.cache and editing the symphony/http-foundation/Request.php to correct my mistake manually. The problem now it that the bootstrap.php.cache doesn't show up anymore...anyone can tell if it will be generated again? or if it's problematic?


or Sign Up to reply!