Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[#5373] CB gallery legacy issue

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 3 months ago #266938 by krileon
Replied by krileon on topic CB gallery legacy issue
Ok, I see the cause. It's a bug in CB it self. I've added a bug ticket and will have fixed for next nightly CB build.

forge.joomlapolis.com/issues/5373


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 3 months ago #266953 by ComLeads
Replied by ComLeads on topic CB gallery legacy issue
Great, thanks. Will wait for the night release.

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

  • ComLeads
  • ComLeads
  • OFFLINE
  • Posts: 37
  • Thanks: 1
  • Karma: 0
9 years 3 months ago #266968 by ComLeads
Replied by ComLeads on topic CB gallery legacy issue
Can you advise when it's ready for download ? Thanks.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 3 months ago #266975 by nant
Replied by nant on topic CB gallery legacy issue

ComLeads wrote: Can you advise when it's ready for download ? Thanks.


New nightly has been released for CB.
The following user(s) said Thank You: krileon

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

  • ComLeads
  • ComLeads
  • OFFLINE
  • Posts: 37
  • Thanks: 1
  • Karma: 0
9 years 3 months ago #267069 by ComLeads
Replied by ComLeads on topic CB gallery legacy issue
Help : during the installation process of the nigthly release I got this message
Catchable fatal error: Argument 1 passed to CBLib\Language\CBTxt::addLanguageFile() must be an instance of CBLib\Language\callable, instance of Closure given, called in /home/apeljbsn/www/libraries/CBLib/CB/Legacy/LegacyFoundationFunctions.php on line 121 and defined in /home/apeljbsn/www/libraries/CBLib/CBLib/Language/CBTxt.php on line 416

And now I can access my administrator anymore... I am stuck out of my website !

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 3 months ago #267090 by krileon
Replied by krileon on topic CB gallery legacy issue
The strong type check is failing on your install. No idea why as it's working in all our internal tests fine. Please make the below quickfix change to remove the strong type.

IN: libraries/CBLib/CBLib/Language/CBTxt.php
ON: Line 416
FROM:
Code:
public function addLanguageFile( callable $callback )
TO:
Code:
public function addLanguageFile( $callback )

Please also provide what PHP version you have.


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