• 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

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.
 
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?
 
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.
 
Back
Top