Cant Access CB if PHP7.04 is used

8 years 1 month ago #279928 by wbuk
Cant Access CB if PHP7.04 is used was created by wbuk
I get a HTTP Error 500 when I try to access CB or Payment Subscriptions using PHP 7, if I downgrade to php 5.6 then it functions fine.

All other extensions work with PHP7 as does Joomla. I have tried to re-install CB but that has not fixed the issue either.

Any ideas?

Web Buster UK Ltd

Please Log in to join the conversation.

8 years 1 month ago #279937 by krileon
Replied by krileon on topic Cant Access CB if PHP7.04 is used
Install latest CB 2.x nightly and update all of your CB plugins according to the chart below.

www.joomlapolis.com/cb-20-addon-status

If issue persists ensure you've tested with debug mode and maximum error reporting configured in Joomla global configuration to expose errors. It's possible your issue is due to our usage of Guzzle4, which doesn't appear to be very PHP7 compatible (we are already looking into upgrading to Guzzle5).


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 to join the conversation.

8 years 1 month ago #279978 by wbuk
Replied by wbuk on topic Cant Access CB if PHP7.04 is used
This is the error message I get

Fatal error: Redefinition of parameter $user in /var/www/vhosts/ultimatemuscle.co.uk/httpdocs/components/com_comprofiler/plugin/user/plug_cbreconfirmemail/cbreconfirmemail.php on line 134

Web Buster UK Ltd

Please Log in to join the conversation.

8 years 1 month ago #279979 by wbuk
Replied by wbuk on topic Cant Access CB if PHP7.04 is used
Also, when running PHP 5.6 the following error is shown when using Joomla 3.5

**Parsing errors in language files**
JROOT/administrator/language/en-GB/en-GB.com_questions.sys.ini : error(s) in line(s) 1, 12, 20

Web Buster UK Ltd

Please Log in to join the conversation.

8 years 1 month ago #279981 by wbuk
Replied by wbuk on topic Cant Access CB if PHP7.04 is used
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 757760 bytes) in /var/www/vhosts/ultimatemuscle.co.uk/httpdocs/plugins/system/debug/debug.php on line 1061

I did notice that I was running 4.0.1 not 4.0.2 so I installed the reconfirm email with the latest version, now I can get in but I get this message:-

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plug_cbautowelcomeclass has a deprecated constructor in /var/www/vhosts/ultimatemuscle.co.uk/httpdocs/components/com_comprofiler/plugin/user/plug_cbautowelcome/cb.autowelcome.php on line 20

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; getuddeimLinkTab has a deprecated constructor in /var/www/vhosts/ultimatemuscle.co.uk/httpdocs/components/com_comprofiler/plugin/user/plug_uddeimprofilelink/pms.uddeim.profilelink.php on line 34

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; getUddeIMblockingTab has a deprecated constructor in /var/www/vhosts/ultimatemuscle.co.uk/httpdocs/components/com_comprofiler/plugin/user/plug_uddeimblockingplugin/blocking.uddeim.php on line 16

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; getuddeimTab has a deprecated constructor in /var/www/vhosts/ultimatemuscle.co.uk/httpdocs/components/com_comprofiler/plugin/user/plug_privatemessagingsystem(uddeimpms)/pms.uddeim.php on line 39

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; getInboxTab has a deprecated constructor in /var/www/vhosts/ultimatemuscle.co.uk/httpdocs/components/com_comprofiler/plugin/user/plug_pmsuddeiminbox/pms.showinbox.php on line 16

Web Buster UK Ltd

Please Log in to join the conversation.

8 years 1 month ago - 8 years 1 month ago #280011 by krileon
Replied by krileon on topic Cant Access CB if PHP7.04 is used
A new release of CB Reconfirm Email and CB Auto Welcome has already been made to address their PHP 7 issues. Please be sure to update both.

Your other deprecated notices are coming entirely from the plugins provided by UddeIM. They are however just deprecated notices and shouldn't break anything.

Your memory issue is a separate issue entirely and could be caused simply by too much install and needing to increase your PHP memory limit.


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.365 seconds

Facebook Twitter LinkedIn