WordPress.org

Ready to get started?Download WordPress

Forums

2 Click Social Media Buttons
[resolved] Use of undefined constant - error (3 posts)

  1. RobertHarm
    Member
    Posted 1 year ago #

    Notice: Use of undefined constant on - assumed 'on' in /html/wp-content/plugins/2-click-socialmedia-buttons/libs/class-twoclick-frontend.php on line 980

    Ich bitte um Info, wie dies behoben werden kann bzw. neue Version des Plugins.
    Danke

    http://wordpress.org/extend/plugins/2-click-socialmedia-buttons/

  2. RobertHarm
    Member
    Posted 1 year ago #

    I think I found a solution - please include in the next release the following change:

    /lib/class-twoclick-frontend.php, Zeile 980 old:
    $array_ButtonData['display_infobox'] = ($this->array_TwoclickButtonsOptions['twoclick_buttons_display_infobox'] === true) ? on : off;

    /lib/class-twoclick-frontend.php, Zeile 980 new:
    $array_ButtonData['display_infobox'] = ($this->array_TwoclickButtonsOptions['twoclick_buttons_display_infobox'] === true) ? 'on' : 'off';

  3. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    These are English language forums. Please use English.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.