WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Comments
[resolved] class-frontend.php on line 102 (3 posts)

  1. inzenx
    Member
    Posted 1 year ago #

    Hi There.

    I have just installed your nice plugin.

    But im getting an error ?

    Notice: Use of undefined constant count - assumed 'count' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 102
    
    Notice: Use of undefined constant countstyle - assumed 'countstyle' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 103
    
    Notice: Use of undefined constant countmsg - assumed 'countmsg' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 108
    
    Notice: Use of undefined constant title - assumed 'title' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 110
    
    Notice: Use of undefined constant titleclass - assumed 'titleclass' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 111
    
    Notice: Use of undefined constant title - assumed 'title' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 116
    
    Notice: Use of undefined constant html5 - assumed 'html5' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 120
    
    Notice: Undefined index: html5 in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 120
    
    Notice: Use of undefined constant num - assumed 'num' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 124
    
    Notice: Use of undefined constant width - assumed 'width' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 124
    
    Notice: Use of undefined constant scheme - assumed 'scheme' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 124
    
    Notice: Undefined variable: options in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 127
    
    Notice: Undefined variable: options in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 128
    
    Notice: Use of undefined constant linklove - assumed 'linklove' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 129
    
    Notice: Use of undefined constant count - assumed 'count' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 102
    
    Notice: Use of undefined constant title - assumed 'title' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 110
    
    Notice: Use of undefined constant titleclass - assumed 'titleclass' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 111
    
    Notice: Use of undefined constant title - assumed 'title' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 116
    
    Notice: Undefined variable: commentcount in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 118
    
    Notice: Use of undefined constant html5 - assumed 'html5' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 120
    
    Notice: Undefined index: html5 in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 120
    
    Notice: Use of undefined constant num - assumed 'num' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 124
    
    Notice: Use of undefined constant width - assumed 'width' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 124
    
    Notice: Use of undefined constant scheme - assumed 'scheme' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 124
    
    Notice: Undefined variable: options in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 127
    
    Notice: Undefined variable: options in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 128
    
    Notice: Use of undefined constant linklove - assumed 'linklove' in /var/www/billig-abonnement.com/public_html/wp-content/plugins/facebook-comments-plugin/class-frontend.php on line 129

    You can see it Here.

    What have i done wrong ?

    http://wordpress.org/extend/plugins/facebook-comments-plugin/

  2. Jon Brown
    Member
    Posted 1 year ago #

    First, those are just "notices", not fatal errors or warnings. So they don't actually harm anything and should only be showing up with DEBUG mode turned on.

    The reason for them is that PHP complaining that the array keys don't have quotes around them and look like constants.

    If you wanted to fix it yourself you can go through that file (class-frontend.php) and change everything that looks like this:

    $fbcomments[count]

    to

    $fbcomments["count"]

    I'd actually come to the support forum to suggest the author make this change for the sake of a blissfully quiet debug mode.. and guess I've done that.

  3. Alex Moss
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, do turn off debug mode (as it could cause other issues outside of the plugin) but in the next update all of this will be dealt with

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.