We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 53127
    • 15 Posts
    Ok so skipping to the meat of it... I get this error on my pages that show completely blank otherwise (like source is empty!!) after I updated my domain in cpanel (simple type in the name) but I ran through the steps like a migration cuz technically it is at that point and now every front end page is blank or gives a 500 error. Help!

    Parse error: syntax error, unexpected 'return' (T_RETURN), expecting ',' or ';' in /home/pdstambay/public_html/core/cache/includes/elements/modsnippet/26.include.cache.php on line 3

    Manager seems to work fine
    I've migrated plenty of Modx sites with little to no issues
    Server runs modx fine
    Ive reinstalled a few times to no avail...

    Can anyone help? Thanks in advance!
      • 17301
      • 932 Posts
      Have you deleted the cache folder and checked permissions? Verified all paths are setup correctly in the configurations?
        ■ email: [email protected] | ■ website: https://alienbuild.uk

        The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
        • 53127
        • 15 Posts
        Quote from: lkfranklin at Apr 04, 2018, 12:28 PM
        Have you deleted the cache folder and checked permissions? Verified all paths are setup correctly in the configurations?

        To the best of my knowledge, yes. Everything was working perfectly then just the spelling change in the url at the cpanel level. I reinstalled and updated config (home path didnt change) and its still completely blank.
          • 53127
          • 15 Posts
          HOLY CRAP...

          I actually opened up the file the error code referenced (I swear that doesn't usually help) and immediately recognized a simple date snippet I made but there was no ; at the end! I went to the snippet corrected it and viola!!

          How stupid of me! I can't believe that caused all this... where's the blushing emoji.....

          Hope this helps someone else :O