1. April Fools Day Sale starting today through Sunday April 2nd.
    $15 discount on all licenses. $10 discount on 1 year support/downloads extensions.
  2. REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Fatal Error: Can't use method return value in write context

Discussion in 'AMS Support' started by cassandra, Dec 9, 2018.

  1. cassandra

    cassandra New Member AMS

    I'm getting the following error when trying to publish a new article:

    ErrorException: Fatal Error: Can't use method return value in write context - library/NFLJ/AMS/DataWriter/Article.php:513

    Thanks for your help.
     
  2. Bob

    Bob Developer Staff Member

    That error is due to using a non supported older version of PHP (older than PHP 5.5 (or 5.6) IIRC). Someone had this exact issue a few weeks ago and they were running PHP 5.3.

    What version of PHP is your server running?
     
  3. cassandra

    cassandra New Member AMS

    5.3
     
  4. Bob

    Bob Developer Staff Member

    Ya, you'll need to upgrade your PHP. PHP 5.3 had been EOL for several years now. If possible, upgrade to PHP 7 (7.0, 7.1 or 7.2). Don't upgrade to 7.3 as XenForo is not PHP 7.3 ready. If you can't upgrade to PHP 7, at least upgrade to PHP 5.6, altho, IIRC, that error will not be thrown if using PHP 5.5.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.