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 - 9 years 4 months ago #266481 by ComLeads
[#5373] CB gallery legacy issue was created by ComLeads
Hi,

I have a problem when updating or uploading a file to CB Gallery. When I validate, I get this message : Using $this when not in object context in <span>/</span>home<span>/</span>apeljbsn/www/libraries/CBLib/CB/Legacy/CBuser.php on line 850 but despite the fatal error and blanck page, the document is well uploaded. This happens when performing the task back and frontend.

I know there is some conflict between plugins versions and I try to keep updated but something is wrong and I can't find the culprit...

I am using CB 2.0.9 (not available in the CB version fields below) with CB Gallery 1.0.5.
The site is still under construction.

Thanks a lot for your advise.
Last edit: 9 years 4 months ago by krileon.

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 #266488 by krileon
Replied by krileon on topic CB gallery legacy issue
The error is happening during the substitute IF statement processing. No such usage is in CB Gallery. If you've latest CB Auto Actions and CB Activity RC3 installed your issue could be due to the activity logging, which your issue would be the result of not using nightly CB. Please install latest CB 2.x nightly below and see if your issue persists.

www.joomlapolis.com/downloads/doc_details/640-community-builder-nightly-build


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 - 9 years 4 months ago #266522 by ComLeads
Replied by ComLeads on topic CB gallery legacy issue
Hello,

I had already installed the nightly release as I had another compatibility problem before. Just to be sure, I did it again.
I also checked my CB Auto Actions, ok but CB Activity was RC2 so I uploaded the RC3.

And nothing changed.
When I validate the action I keep having this message with the blanck screen : Fatal error: Using $this when not in object context in www/libraries/CBLib/CB/Legacy/CBuser.php on line 850, but the task is done (eg the document is uploaded in the gallery in the right folder).
So you must be right, CB Gallery seems to be ok, it's another plugin linked to user...
Could it be a problem with GroupJive 2.7 ? Or CB profile update logger ? Can you help ?

Thanks

Update : Going through my user profile I found out the message under tabs "Update Log" : "Date Time Field Name Old Value New Value Mode,ID(username)".
Last edit: 9 years 4 months ago by ComLeads. Reason: New information

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 #266532 by krileon
Replied by krileon on topic CB gallery legacy issue
Disable non-core plugins 1 by 1 until the issue resolves. The issue could also be from a bad substitution in a field or a module so be sure to check CB Content Module usages and Custom HTML field usages as well.


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 #266580 by ComLeads
Replied by ComLeads on topic CB gallery legacy issue
Hi,

I found out it's the CB Activity RC3 the culprit. Everything works fine as long as the plugin is not published.

What the next step for me then ?

All the best

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 #266597 by krileon
Replied by krileon on topic CB gallery legacy issue
Install CB 2.x nightly below. Next install CB Auto Actions 6.3.0. Now install CB Activity 3.0.0 RC3.

www.joomlapolis.com/downloads/doc_details/640-community-builder-nightly-build

I'm unable to confirm your issue with the above while uploading to any of the gallery modes. Please also ensure CB Gallery is up to date with latest release CB Gallery 1.0.5.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum