[SOLVED] Fatal Error

6 years 1 week ago - 6 years 1 week ago #303697 by drgolden
[SOLVED] Fatal Error was created by drgolden
Joomla 3.8.6
CB 2.1.4

I just learned from a user they were unable to update their profile. When you go into edit a profile, make changes, and press update a blank page appears..

With error reporting on this is the message:

Strict Standards: Declaration of getPlg_geofactory_profile_cbTab::saveEditTab() should be compatible with cbTabHandler::saveEditTab($tab, &$user, $ui, $postdata) in /home/cocaintl/cocai.org/components/com_comprofiler/plugin/user/plug_geocodefactorypluginforcb/plg_geofactory_profile_cb.php on line 303

Strict Standards: Declaration of getPlg_geofactory_profile_cbTab::getDisplayRegistration() should be compatible with cbTabHandler::getDisplayRegistration($tab, $user, $ui, $postdata) in /home/cocaintl/cocai.org/components/com_comprofiler/plugin/user/plug_geocodefactorypluginforcb/plg_geofactory_profile_cb.php on line 303

Fatal error: Cannot access empty property in /home/..../libraries/CBLib/CB/Database/Table/UserTable.php on line 298

Any way you can help me out?

Please Log in to join the conversation.

6 years 1 week ago #303700 by krileon
Replied by krileon on topic Fatal Error
We're not the developers of Geo Code Factory or its CB plugin. It appears they never updated it to be CB 2.x compatible. You'll need to contact them regarding your issues.


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.

6 years 1 week ago #303710 by drgolden
Replied by drgolden on topic Fatal Error
I just replicated the site to localhost, uninstalled all references to Geocode Factory.

Upon trying to update a profile I still get this message:


( ! ) Fatal error: Cannot access empty property in G:\wamp\www\COCAI_2\libraries\CBLib\CB\Database\Table\UserTable.php on line 298
Call Stack
# Time Memory Function Location
1 0.0035 313160 {main}( ) ...\index.php:0
2 0.1232 7884672 Joomla\CMS\Application\CMSApplication->execute( ) ...\index.php:49
3 0.1232 7884896 Joomla\CMS\Application\SiteApplication->doExecute( ) ...\CMSApplication.php:204
4 0.6545 24434008 Joomla\CMS\Application\SiteApplication->dispatch( ) ...\SiteApplication.php:233
5 0.6589 24502608 Joomla\CMS\Component\ComponentHelper::renderComponent( ) ...\SiteApplication.php:194
6 0.6609 24517400 Joomla\CMS\Component\ComponentHelper::executeComponent( ) ...\ComponentHelper.php:357
7 0.6640 25337680 require_once( 'G:\wamp\www\COCAI_2\components\com_comprofiler\comprofiler.php' ) ...\ComponentHelper.php:382
8 0.6724 26297888 userSave( ) ...\comprofiler.php:102
9 0.8273 38978568 CB\Database\Table\UserTable->saveSafely( ) ...\comprofiler.php:488
10 0.8278 39007872 CB\Database\Table\UserTable->bindSafely( ) ...\UserTable.php:858
11 0.8311 39445048 cbTabs->saveTabsContents( ) ...\UserTable.php:431
12 0.8311 39445624 cbTabs->_getTabFieldsDb( ) ...\cbTabs.php:1138
13 0.8670 40390632 cbPluginHandler->trigger( ) ...\cbTabs.php:1005
14 0.8695 40396384 cbPluginHandler->call( ) ...\cbPluginHandler.php:1298
15 0.8696 40400728 call_user_func_array:{G:\wamp\www\COCAI_2\libraries\CBLib\CB\Legacy\cbPluginHandler.php:885} ( ) ...\cbPluginHandler.php:885
16 0.8696 40401336 cbconditionalPlugin->fieldsFetch( ) ...\cbPluginHandler.php:885
17 0.8807 40798888 cbconditionalPlugin->getFieldConditional( ) ...\cbconditional.php:1063
18 0.8890 40883248 cbconditionalPlugin->getFieldValue( ) ...\cbconditional.php:623
19 0.8906 40915072 CB\Database\Table\UserTable->bindThisUserFromDbArray( ) ...\cbconditional.php:792

Please Log in to join the conversation.

6 years 1 week ago #303720 by krileon
Replied by krileon on topic Fatal Error
It's coming from CB Conditional. Based off the line numbers alone on cbconditional.php your CB Conditional plugin is out of date. Please update it and retry. Anytime you hit an issue first update everything then retry as often they're bugs we've already fixed.


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.

6 years 1 week ago #303749 by drgolden
Replied by drgolden on topic Fatal Error
You were correct sir!

I updated CB Conditionals and CB Subs and the site is back and running correctly. After that experience, I checked all the plugins, and updated those that were out of date.

Thanks for your help.
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.185 seconds

Facebook Twitter LinkedIn