WordPress.org

Support

Support » Plugins and Hacks » CubePoints » Donate Module Not Working

Donate Module Not Working

  • 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/

Viewing 1 replies (of 1 total)
  • 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’)

Viewing 1 replies (of 1 total)
  • The topic ‘Donate Module Not Working’ is closed to new replies.
Skip to toolbar