WordPress.org

Forums

CubePoints
Donate Module Not Working (2 posts)

  1. PMLuther
    Member
    Posted 1 year ago #

    I was trying to activate the Donate module for CubePoints but kept getting this error message:

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

    Warning: Cannot modify header information - headers already sent by (output started at /home/pmluther/public_html/wp/wp-content/plugins/cubepoints/modules/donate/donate.php:165) in /home/pmluther/public_html/wp/wp-includes/option.php on line 563

    Warning: Cannot modify header information - headers already sent by (output started at /home/pmluther/public_html/wp/wp-content/plugins/cubepoints/modules/donate/donate.php:165) in /home/pmluther/public_html/wp/wp-includes/option.php on line 564

    I found another post which suggested going into the plugin code and doubling the underscore for the error message text, but that just made the site break completely; I had to remove CubePoints manually via an FTP client to get the site working again. Does anyone have any advice for fixing this?

    Thank you!

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

  2. Ramon
    Member
    Posted 1 year ago #

    If the following function corrects it to find on line Not 165:

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

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic