• Resolved AiratTop

    (@airathalitov)


    Log:

    PHP Warning: A non-numeric value encountered in /mypath/wp-content/plugins/super-socializer/inc/social_sharing.php on line 186

    This warning arise on this page: https://airat.biz/how-to-write/

    Super Socializer 7.9.7
    WordPress 4.9.1
    PHP 7.1.12-3+ubuntu16.04.1+deb.sury.org+1

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Heateor Support

    (@heateor)

    Thanks for the heads up. We will take care of this in upcoming releases.

    Thread Starter AiratTop

    (@airathalitov)

    Problem is still actual

    Super Socializer 7.10.1

    Plugin Author Heateor Support

    (@heateor)

    Update your plugin to version 7.10.3.

    Thread Starter AiratTop

    (@airathalitov)

    I updated plugin yesterday to v7.10.3, but in error log i can see two similar warnings.
    But i can’t reproduce this warning.

    PHP Warning: A non-numeric value encountered in /mypath/wp-content/plugins/super-socializer/inc/social_sharing.php on line 205

    Line number changed from 185 to 205.

    May be problem solved. I don’t know.

    Any way – thanks for support!

    • This reply was modified 7 years, 1 month ago by AiratTop.
    Thread Starter AiratTop

    (@airathalitov)

    I think the problem is still actual.

    Plugin Author Heateor Support

    (@heateor)

    This has been resolved. You can try turning debugging ON. You won’t see this message anymore.

    Thread Starter AiratTop

    (@airathalitov)

    That is my debug log

    /** Enable WP_DEBUG mode */
    define( 'WP_DEBUG', true );
    
    if ( WP_DEBUG ) {
        @error_reporting( E_ALL );
        @ini_set( 'log_errors', true );
        @ini_set( 'log_errors_max_len', '0' );
    
        define( 'WP_DEBUG_LOG', true );
        define( 'WP_DEBUG_DISPLAY', false );
        @ini_set( 'display_errors', 0 );
        define( 'CONCATENATE_SCRIPTS', false );
        define( 'SAVEQUERIES', true );
        define( 'SCRIPT_DEBUG', false );
    }

    LOG:

    # cat debug.log | grep super -i
    [30-Jan-2018 20:11:42 UTC] PHP Warning:  Illegal string offset 'facebook' in /my_path/wp-content/plugins/super-socializer/inc/social_sharing.php on line 1075
    [30-Jan-2018 20:11:42 UTC] PHP Notice:  Uninitialized string offset: 0 in /my_path/wp-content/plugins/super-socializer/inc/social_sharing.php on line 1075
    [30-Jan-2018 22:24:59 UTC] PHP Warning:  A non-numeric value encountered in /my_path/wp-content/plugins/super-socializer/inc/social_sharing.php on line 205
    [31-Jan-2018 06:48:28 UTC] PHP Warning:  A non-numeric value encountered in /my_path/wp-content/plugins/super-socializer/inc/social_sharing.php on line 205
    Plugin Author Heateor Support

    (@heateor)

    We are unable to reproduce this warning at our end.
    Clear website cache (if using any cache plugin), then clear share counts cache from Miscellaneous section at Super Socializer > Social Sharing page in admin area. Refresh the webpage and see if still the warning is being generated.

    Thread Starter AiratTop

    (@airathalitov)

    Ok! Done

    I don’t using any cache plugins.
    I use only Cloudflare CDN for cacheing static files.

    Plugin Author Heateor Support

    (@heateor)

    Still getting the warning?

    Thread Starter AiratTop

    (@airathalitov)

    No, I don’t see any super-socializer warnings

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘A non-numeric value encountered’ is closed to new replies.