Support » Plugin: Hupso Social Media Share Buttons » PHP Warning: Illegal string offset ‘filter’

  • Resolved NemiSys

    (@nemisys)


    Constant PHP Warning: Illegal string offset ‘filter’ in /home/wfc/public_html/wp-includes/taxonomy.php on line 1408

    Error ceases when plugin is deactivated

    In the function sanitize_term($term, $taxonomy, $context = ‘display’)

    ‘filter’ is an illegal offset in the array $term

    1405 if ( $do_object )
    1406 $term->filter = $context;
    1407 else
    1408 $term[‘filter’] = $context;

Viewing 5 replies - 1 through 5 (of 5 total)
  • I have the same error, but on line 1489. And, when I deactivate the plugin, it goes away.

    Same
    Now = “PHP Warning: Illegal string offset ‘filter’ in /home/XXXXXX/public_html/wp-includes/taxonomy.php on line 1489”

    Presumably it was upgraded

    Do we have a fix guys ?
    Happy to add it in before next release
    Just want unnecessary error.log entries to go away so I can stop getting alerted to file size changes on the account every X hours

    Plugin Author kasal

    (@kasal)

    I am unable to replicate this error.
    Can you please contact me so we can fix this in next release? Please include URL of your website, WP version and PHP version your are using.

    I just sent my details via the contact form. Thank you for looking into it.

    Plugin Author kasal

    (@kasal)

    I would like to notify you that this bug is now fixed. If you have this issue, please upgrade this plugin to version 4.5.0 (or later).

    @razoralpha Thank you for your help with this issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Warning: Illegal string offset ‘filter’’ is closed to new replies.