Support » Plugin: jQuery Colorbox » [Plugin: jQuery Colorbox] JQUERYCOLORBOX_TEXTDOMAIN error

  • Resolved joshuef

    (@joshuef)


    I keep getting this error, no matter what I do:

    Notice: Use of undefined constant JQUERYCOLORBOX_TEXTDOMAIN – assumed ‘JQUERYCOLORBOX_TEXTDOMAIN’ in …/wp-content/plugins/jquery-colorbox/jquery-colorbox.php on line 34

    Warning: Cannot modify header information – headers already sent by (output started at …/wp-content/plugins/jquery-colorbox/jquery-colorbox.php:34) in …/wp-includes/pluggable.php on line 866

    Any ideas why this might be occurring?

    http://wordpress.org/extend/plugins/jquery-colorbox/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi.
    1.Notice: Use of undefined constant JQUERYCOLORBOX_TEXTDOMAIN – assumed ‘JQUERYCOLORBOX_TEXTDOMAIN’ in …
    This is not a critical error, but you can fix it – just open /wp-content/plugins/jquery-colorbox/jquery-colorbox.php on line 34 and change this:

    if (!defined('JQUERYCOLORBOX_NAME')) {
      define('JQUERYCOLORBOX_NAME', __('jQuery Colorbox',JQUERYCOLORBOX_TEXTDOMAIN));
    }
    if (!defined('JQUERYCOLORBOX_TEXTDOMAIN')) {
      define('JQUERYCOLORBOX_TEXTDOMAIN', 'jquery-colorbox');
    }

    to this (just interchange):

    if (!defined('JQUERYCOLORBOX_TEXTDOMAIN')) {
      define('JQUERYCOLORBOX_TEXTDOMAIN', 'jquery-colorbox');
    }
    if (!defined('JQUERYCOLORBOX_NAME')) {
      define('JQUERYCOLORBOX_NAME', __('jQuery Colorbox',JQUERYCOLORBOX_TEXTDOMAIN));
    }

    I believe author will do that also 😉

    2.Warning: Cannot modify header information – headers already sent by (output started at …
    Try something here: link
    I have no problem with last version of colorbox on WP3.4

    Plugin Contributor techotronic

    (@techotronic)

    yeah, that somehow slipped through and will be fixed in the next version.
    Cheers,
    Arne

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: jQuery Colorbox] JQUERYCOLORBOX_TEXTDOMAIN error’ is closed to new replies.