Viewing 4 replies - 1 through 4 (of 4 total)
  • This connection error is a common error that appears everywhere if you Google it but surprisingly I have been unable to find even one fix.

    could not connect to database::Roots_Persona->rp_action_callback, call_user_func_array(525), do_action(89)

    Surely someone can help us?

    willemvdz

    (@willemvdz)

    For everybody who ran into this problem. Do the following:
    In the file plugins/rootspersona/php/class-RP-Persona-Manager.php
    comment the following lines in the function process_form.
    This recreates the issue with the post-title after changing it, but that’s not a big issue. the database is now at least updated correctly.

    /*
    =====>>>> REMOVED BECAUSE THIS IS INTRODUCING A Error Message.

    $title = RP_Dao_Factory::get_rp_persona_dao( $credentials->prefix )
    if($isSOR) {
    ->get_fullname( $indi->id, $indi->batch_id );
    $my_post[‘post_title’] = $title;
    }
    */

    Plugin Author ed4becky

    (@ed4becky)

    Try 3.6.0

    willemvdz

    (@willemvdz)

    Hi,
    Thanks! I will try and let you know. So far it looks great!
    Kr Willem

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

The topic ‘Database connection error when saving a person’ is closed to new replies.