[SOLVED] CB Configuration Crash

5 years 6 months ago - 5 years 6 months ago #281493 by edmundcheong
[SOLVED] CB Configuration Crash was created by edmundcheong
I am unable to reach my CB Configuration page after PHP7 update..

The following error was displaye:
Argument 2 passed to GuzzleHttp\Adapter\StreamAdapter::createResponseObject() must be of the type array, null given, called in <span>/</span>var<span>/</span>www/html/libraries/CBLib/GuzzleHttp/Adapter/StreamAdapter.php on line 67

CB Version: 2.0.14+build.2016.04.20.03.25.37.a320ef480
Joomla: Joomla! 3.5.1
PHP: PHP Version 7.0.6-1

Please Log in to join the conversation.

5 years 6 months ago #281501 by krileon
Replied by krileon on topic CB Configuration Crash
Please update to latest nightly below.

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

Your nightly release is nearly a month out of date. Once up to date see if issue persists.

Please keep in mind we are still tracking down PHP7 issues. Guzzle is a unique case as we can't upgrade to a more PHP7 compatible release without pushing our minimum PHP to 5.4. This is noted below.

forge.joomlapolis.com/issues/5882


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: edmundcheong

Please Log in to join the conversation.

5 years 6 months ago #281670 by edmundcheong
Replied by edmundcheong on topic CB Configuration Crash
Installed CB Package - 2.0.14+build.2016.05.10.00.11.32.0a0d425cb (pkg_communitybuilder_2.0.14+build.2016.05.10.00.11.32.0a0d425cb.zip)

am still getting the error when accessing the CB configuration page.. basically, I have lost control of CB configuration.. the whole CB configuration interface not loaded..
Argument 2 passed to GuzzleHttp\Adapter\StreamAdapter::createResponseObject() must be of the type array, null given, called in /var/www/html/libraries/CBLib/GuzzleHttp/Adapter/StreamAdapter.php on line 67


Attachments:

Please Log in to join the conversation.

5 years 6 months ago #281686 by krileon
Replied by krileon on topic CB Configuration Crash
I've retested on PHP 7.0.4 and am not seeing your issue. I've no idea why that is erroring for you. Could be an issue specifically with 7.0.6. I've noted this in the ticket above. For now basically don't use PHP 7 as I've no other solution to offer at this time.


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: edmundcheong

Please Log in to join the conversation.

5 years 6 months ago #281687 by beat
Replied by beat on topic CB Configuration Crash
I've analyzed a bit more in detail, and I think it's not PHP 7 specific.

From what I see is that your host doesn't have the PHP OpenSSL library installed, and thus Guzzle tries to use fopen method which has this bug.

Please try installing (or ask hoster to install) the PHP OpenSSL library.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
The following user(s) said Thank You: edmundcheong

Please Log in to join the conversation.

5 years 6 months ago - 5 years 6 months ago #281709 by edmundcheong
Replied by edmundcheong on topic CB Configuration Crash

beat wrote: I've analyzed a bit more in detail, and I think it's not PHP 7 specific.

From what I see is that your host doesn't have the PHP OpenSSL library installed, and thus Guzzle tries to use fopen method which has this bug.

Please try installing (or ask hoster to install) the PHP OpenSSL library.


It is already installed..

libssl-dev - Secure Sockets Layer toolkit - development files
libssl-doc - Secure Sockets Layer toolkit - development documentation
libssl1.0.0 - Secure Sockets Layer toolkit - shared libraries
libssl1.0.0-dbg - Secure Sockets Layer toolkit - debug information
libssl-ocaml - OCaml bindings for OpenSSL (runtime)
libssl-ocaml-dev - OCaml bindings for OpenSSL
libssl0.9.8 - SSL shared libraries
libssl0.9.8-dbg - Symbol tables for libssl and libcrypto
libsslcommon2 - enterprise messaging system - common SSL libraries
libsslcommon2-dev - enterprise messaging system - common SSL development files
libssl1.0.2 - Secure Sockets Layer toolkit - shared libraries
libssl1.0.2-dbg - Secure Sockets Layer toolkit - debug information

I am also troubleshooting at my level and I will update if I find any problems.. so far, this does not happen in a php 5 environment.. only at php7..

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.216 seconds

Facebook Twitter LinkedIn