Skip to Content Skip to Menu

[#5373] CB gallery legacy issue

  • ComLeads
  • ComLeads
  • OFFLINE
  • Posts: 37
  • Thanks: 1
  • Karma: 0
9 years 4 months ago #267102 by ComLeads
Replied by ComLeads on topic CB gallery legacy issue
Hi,

I am back in my admin after amending my file and I finished the updated CB upload.

So, I get a new message but always with the line
Fatal error: Call to private method CBuser::_evaluateUserAttrib() from context '' in /home/apeljbsn/www/libraries/CBLib/CB/Legacy/CBuser.php on line 851
Again the task is completed.

PHP 5.3.29

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
9 years 4 months ago #267105 by krileon
Replied by krileon on topic CB gallery legacy issue

So, I get a new message but always with the line
Fatal error: Call to private method CBuser::_evaluateUserAttrib() from context '' in /home/apeljbsn/www/libraries/CBLib/CB/Legacy/CBuser.php on line 851
Again the task is completed.

Please apply the below quickfix and confirm if issue persists.

IN: libraries/CBLib/CB/Legacy/CBuser.php
ON: Line 794
FROM:
Code:
private function & _evaluateUserAttrib( $userAttrVal )
TO:
Code:
public function & _evaluateUserAttrib( $userAttrVal )

PHP 5.3.29

This will be a root of a lot of your problems. We don't have a PHP 5.3 test environment anymore. Most hosts are moved or can move to at least PHP 5.4, but recommend PHP 5.5 if available. Please contact your host and have them upgrade you to at least PHP 5.4 if possible.


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.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
9 years 4 months ago #267120 by krileon
Replied by krileon on topic CB gallery legacy issue
Ok, we were able to confirm both issues being PHP 5.3 related. Both issues have been fixed for next nightly release. If you run into any more errors like this please let us know encase we've missed any PHP 5.3 compatibility issues.


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.

Please Log in or Create an account to join the conversation.

  • ComLeads
  • ComLeads
  • OFFLINE
  • Posts: 37
  • Thanks: 1
  • Karma: 0
9 years 4 months ago #267138 by ComLeads
Replied by ComLeads on topic CB gallery legacy issue
Thanks. I'll let you know if any problem, you can be sure of that ;)
Meanwhile, I have also asked my webhost for a higher version of php server.

Thank you

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum