WordPress.org

Forums

CubePoints
Donate module not working (3 posts)

  1. ElPapay
    Member
    Posted 2 years ago #

    I'm using WordPress 3.5.1 and I just installed CubePoints. I didn't have any error not until I activated the "Donate" module. I got this error above my pages

    Warning: _() expects exactly 1 parameter, 2 given in /home/myhost/public_html/wp-content/plugins/cubepoints/modules/donate/donate.php on line 165

    And when I try clicking on the "Donate" button on my CubePoints widget to search for a user, it can't find the user and will just output multiple radio buttons labeled as "undefined".

    I'm afraid that CubePoints 3.2.1 is not fully compatible with WordPress 3.5.1

    :(

    http://wordpress.org/extend/plugins/cubepoints/

  2. pazis
    Member
    Posted 2 years ago #

    Same error for me!

  3. dambacher
    Member
    Posted 2 years ago #

    Change this in line 165:
    'somethingWentWrongText' => _('Oops, something went wrong! Please try again later.', 'cp')

    To this:

    'somethingWentWrongText' => __('Oops, something went wrong! Please try again later.', 'cp')

    It's missing an underscore.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • CubePoints
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.