• Resolved Prashant

    (@prash18)


    hi, showing this error….

    Deprecated: Unparenthesized a ? b : c ? d : e is deprecated. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in /home/h7cc1beh25ov/public_html/wp-content/plugins/wp-socializer/core/templates/floating-sharebar.php on line 180

    how do I solve this?

    Prashant

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author vaakash

    (@vaakash)

    Hi @prash18,

    It looks like you are using the latest PHP 7.4.

    I’ll fix it in the next version.
    For now can you please replace wp-socializer/core/templates/floating-sharebar.php on line 180 with below in plugin editor ?

    array_push( $wrap_styles, ( $o[ 'sb_position' ] == 'wleft' ? 'left' : ( $o[ 'sb_position' ] == 'scontent' ? 'margin-left' : 'right' ) ) . ':' . $o[ 'offset' ] );

    Thanks,
    Aakash

    Thread Starter Prashant

    (@prash18)

    Thanks Vaakash, It’s done 👍🏻
    And thanks for this wonderful plugin!

    Plugin Author vaakash

    (@vaakash)

    Cheers !

    Please do rate the plugin, that would be really helpful !
    https://wordpress.org/support/plugin/wp-socializer/reviews/?rate=5#new-post

    Thanks,
    Aakash

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.