Skip to Content Skip to Menu

Blank screen on submit Registration

  • sclarke
  • sclarke
  • OFFLINE
  • Posts: 53
  • Thanks: 3
  • Karma: 0
8 years 5 months ago #282156 by sclarke
Blank screen on submit Registration was created by sclarke
Hi,
I'm using Joomla! 3.5.1 Stable and CB 2.0.14. When I click to submit a completed registration form, I get a blank screen.

I've enabled PHP display errors and see the following error while trying to submit the form:

Fatal error: Cannot access empty property in /home/***/public_html/libraries/CBLib/CB/Database/Table/UserTable.php on line 290. This section of the code reads:
/**
* Copy the named array or object content into this object as vars
* All $arr values are filled in vars of object
* @access private
*
* @param array $arr The input array
* @param int $oid id
*/
public function bindThisUserFromDbArray( $arr, $oid = null ) {
foreach ( $arr as $kk => $v ) {
$this->$kk = $v;
}
if ( $oid ) {
// in case the left join is null, the second loaded id will be NULL and override id:
$k = $this->_tbl_key;
$this->$k = (int) $oid;
}
$this->afterBindFromDatabase();
}

Line 290 is " $this->$kk = $v;" above

The DB table "users" is correct.

Your suggestions appreciated as always.

Thanks,
Steve

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 5 months ago #282164 by nant
Replied by nant on topic Blank screen on submit Registration
[mod note: moved out of potential bugs forum as your issue cannot be replicated on clean install]

I am guessing you have something old installed that is not compatible with CB 2.0.14 that is causing this.

See this page for latest releases to compare:
www.joomlapolis.com/cb-20-addon-status

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

  • sclarke
  • sclarke
  • OFFLINE
  • Posts: 53
  • Thanks: 3
  • Karma: 0
8 years 5 months ago #282227 by sclarke
Replied by sclarke on topic Blank screen on submit Registration
Hi Nick,

I have isolated the problem to the CB Conditional plugin (4.0.5). I am using it several times in a multi-page registration form but just one particular instance seems to cause the blank screen on submit.

If I disable the tab with the villainous instance of CB Conditional the form works fine. If I disable the plugin altogether everything works fine too.

It's not a biggie for me - I can modify the form to exclude this condition but maybe it's something for your dev team to inspect.

Thanks for the prompt response.

Steve

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 5 months ago #282229 by nant
Replied by nant on topic Blank screen on submit Registration

sclarke wrote: Hi Nick,

I have isolated the problem to the CB Conditional plugin (4.0.5). I am using it several times in a multi-page registration form but just one particular instance seems to cause the blank screen on submit.

If I disable the tab with the villainous instance of CB Conditional the form works fine. If I disable the plugin altogether everything works fine too.

It's not a biggie for me - I can modify the form to exclude this condition but maybe it's something for your dev team to inspect.

Thanks for the prompt response.

Steve


Well, latest CB Conditionals is 4.0.7 which might fix your issue:

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

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

Moderators: beatnantkrileon
Powered by Kunena Forum