WordPress.org

Ready to get started?Download WordPress

Forums

CubePoints Buddypress Integration
[resolved] Error donate.php (3 posts)

  1. alex80ks
    Member
    Posted 1 year ago #

    After updating plugin next error show Warning: _() expects exactly 1 parameter, 2 given in /home/xxxxx/public_html/wp-content/plugins/cubepoints/modules/donate/donate.php on line 165

    any solutions for that? :)
    Thanks :)

    http://wordpress.org/extend/plugins/cubepoints-buddypress-integration/

  2. jsliveoak
    Member
    Posted 1 year ago #

    yes... you have to correct the following typing error (localization function on line no. 165
    from: 'somethingWentWrongText' => _('Oops, something went wrong! Please try again later.', 'cp')
    to: 'somethingWentWrongText' => __('Oops, something went wrong! Please try again later.', 'cp')

    in short: double the underscore!!!

  3. alex80ks
    Member
    Posted 1 year ago #

    Thanks :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic