Fatal error: Cannot use result of built-in function in write context in...

6 years 3 months ago #301881 by bcraigie
Fatal error: Cannot use result of built-in function in write context in libraries/CBLib/CB/Legacy/Archive_Tar.php on line 687

I'm trying to update my CB from 2.0.15 to 2.1.3 and the above error message appears. Line 687 says:

$v_att_list = & func_get_args();

I also tried by downloading the latest CB pkg_communitybuilder_2.1.3+build.2018.02.06.22.14.01.d2dadfe0d.zip and it fails, but all it can tell me in the log is a 500 error - I assume it is the same error.

Can you advise please if I should do something to enable the update to proceed?

Joomla 3.8.5 on Php 7.2.1

*Update : I changed the php version to 5.6.33 and the update worked ok. So the problem seems to be with the code when it runs on php 7.2.1

Please Log in to join the conversation.

6 years 3 months ago #301883 by krileon
Latest CB release is compatible with PHP 7.2, but the release you were using was not. Once updated change back to PHP 7.2 and you should be fine.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: bcraigie

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.204 seconds

Facebook Twitter LinkedIn