• Resolved Tom

    (@srcthomas)


    Hey there,

    We’ve purchased and installed the profession version of this plugin but we’re unable to save due to a fatal error.

    As of this post, WP, BP and WC4BP are all at the latest versions.

    The profile saves without errors as soon as the plugin is disabled.

    Do you have any ideas of why this may be occurring?

    [03-Sep-2017 23:36:37 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /home/site/public_html/wp-content/plugins/wc4bp/class/core/wc4bp-sync.php:53

    Stack trace:

    #0 /home/site/public_html/wp-content/plugins/wc4bp/class/core/wc4bp-sync.php(99): wc4bp_Sync::wc4bp_sync_addresses_from_profile(22, 73, ‘ljkh’)

    #1 /home/site/public_html/wp-includes/class-wp-hook.php(298): wc4bp_Sync->wc4bp_xprofile_profile_field_data_updated(73, ‘ljkh’)

    #2 /home/site/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)

    #3 /home/site/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)

    #4 /home/site/public_html/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-screens.php(147): do_action(‘xprofile_profil…’, 73, ‘ljkh’)

    #5 /home/site/public_html/wp-includes/class-wp-hook.php(298): xprofile_screen_edit_profile(”)

    #6 /home/site/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)

    #7 /home/site/public_html/wp-includes/plugin.php(45 in /home/site/public_html/wp-content/plugins/wc4bp/class/core/wc4bp-sync.php on line 53

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Tom

    (@srcthomas)

    Another thing to note is all plugins except WC, BP and, WC4BP have been deactivated. Also, the child theme is built on the Genesis framework.

    Aside from the error above, the page displays a 404 error saying the page isn’t found despite the URL not having changed from when the form was submitted i.e. site.com/members/myusername/profile/edit/group/8/ page loads with profile information in a form which we save, the query is made to the server to update th profile fields then the same url returns with a 404.

    Ive found the first profile field will have data saved but no other field before the error is thrown.

    Thread Starter Tom

    (@srcthomas)

    Oh also, the profile saves when WC and/or WC4BP are/is deactivated.

    Plugin Contributor gfirem

    (@gfirem)

    Hi Tom, sorry to hear you face this errors. Can you please enable the premium version or check if it is enabled they have a (premium) suffix in the plugins list.

    Thread Starter Tom

    (@srcthomas)

    Hey gfirem,

    Yup have tried with both free and premium installed but no success.

    I’ve combed through the WP, WC and Genesis settings to toggle things to see if it’s something to do with the settings that’s causing the issue but no success.

    Also, I’ve tried selecting the ‘delete’ option in WC4BP, deactivating and uninstalling then re-installing but no success. I’ve also tried deleting and re-installing BuddyPress but no success.

    The only thing so far that’s made any change is deactivating with WooCommerce or WC4BP.

    No matter what I’ve done, I’ve also received the exact same error as above.

    I’ve also tried clearing out old data in th DB, old transients in particular, but again, no success.

    Are there any tables in the database that I can remove or clean or do you have any other ideas of things to try??

    Plugin Author Sven Lehnert

    (@svenl77)

    Hi @srcthomas

    can I ask you to create a ticket. Just write us mail to support @ themekraft . com so we can investigate deeper and find out the reason it is not working for you.

    Best is to sent us admin user credentials to your wp instal so we can look into your setup and understand the issue in detail.

    Thanks,
    Sven

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Fatal error when trying to save extended profile’ is closed to new replies.