We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42042
    • 140 Posts
    Hi There,

    Just moving a modx website and get multiple errors I've never seen before. The site comes from a local environment so the new server could be the problem but I don't know for sure. The PHP version is 7+ and the modX version is it's newest. Does anybody has seen the error before?

    Notice: Undefined property: stdClass::$caption in xx/xx/xx/core/cache/includes/elements/modsnippet/18.include.cache.php on line 87

    Notice: Undefined property: stdClass::$credits in xx/xx/xx/core/cache/includes/elements/modsnippet/18.include.cache.php on line 88

    Notice: Undefined property: stdClass::$altTag in xx/xx/xx/core/components/imageplus/model/cropengines/PhpThumbOf.php on line 157

    Notice: Undefined property: stdClass::$caption in xx/xx/xx/core/components/imageplus/model/cropengines/PhpThumbOf.php on line 169

    Notice: Undefined property: stdClass::$credits in xx/xx/xx/core/components/imageplus/model/cropengines/PhpThumbOf.php on line 170

    This question has been answered by andytough. See the first response.

    • discuss.answer
      • 38783
      • 571 Posts
      Is it PHP version 7 running on the local and remote servers?

      Have imageplus and PhpThumbOf been updated to the latest versions?

      Did you delete the core/cache before moving?

      Is snippet 18 related to ImagePlus / PhpThumbOf or is it something different?
        If I help you out on these forums I would be very grateful if you would consider rating me on Trustpilot: https://uk.trustpilot.com/review/andytough.com

        email: [email protected] | website: https://andytough.com
        • 42042
        • 140 Posts
        Thanks!

        Seems to be a php problem. It occurs on PHP 7.0 but not on 7.2. Also, the snippet refers the snippet of img+. Put in a Pullrequest.