Home Forums Support Self-Hosted v4.5.9 – Cron Job Errors

This topic contains 4 replies, has 2 voices, and was last updated by  phobes 6 months, 3 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #18662


    Trying to get cron jobs working but I’m getting the the following errors:

    PHP Warning: Unsupported declare 'strict_types' in /RETRACTED/vendor/sabre/uri/lib/functions.php on line 1
    PHP Parse error: syntax error, unexpected ':', expecting '{' in /RETRACTED/vendor/sabre/uri/lib/functions.php on line 23

    PHP 7.2.11 is installed for both my website and shell account, configuration for each is below




    [ps605255]$ php -v
    PHP 7.2.11 (cli) (built: Oct 16 2018 18:51:28) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
        with Zend OPcache v7.2.11, Copyright (c) 1999-2018, by Zend Technologies
    [ps605255]$ php -me
    [PHP Modules]
    bcmath, bz2, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp
    gd, gettext, hash, iconv, imagick, imap, json, libxml, mbstring, memcached, mysqli
    mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell
    Reflection, session, SimpleXML, soap, sockets, sodium, SPL, sqlite3, standard
    tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib
    [Zend Modules]
    Zend OPcache
    • This topic was modified 6 months, 3 weeks ago by  phobes.

    Hillel Coren

    I’m not sure, when googling for the error most answers mention the PHP version?



    Yes sir I made sure I’m running an adequate PHP version, does Fast CGI make a difference at all, or do I appear to be missing a necessary extension?


    Hillel Coren

    Sorry, the only cause I’m aware of for this error is PHP version.



    Ahh, figured it out! My host installs multiple versions of PHP so I had to specify /usr/local/php72/bin/php and it ran successfully! Thanks again for your prompt assistance 🙂

    Also important to note, the reminders would NOT send until I added a Payment Term! I’m not sure if this is specific to me but figured I would add it here just in case.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Posted in: