Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1053639

    Hi,

    We’re experiencing a problem which is based on PHP version. If a page has Social Share Element and use PHP 7.2 or 7.3, we’re getting this error

    Warning: count(): Parameter must be an array or an object that implements Countable in /public/wp-includes/post-template.php on line 284
    
    Warning: Cannot modify header information - headers already sent by (output started at /public/wp-includes/post-template.php:284) in /public/wp-admin/post.php on line 210
    
    Warning: Cannot modify header information - headers already sent by (output started at /public/wp-includes/post-template.php:284) in /public/wp-includes/pluggable.php on line 1223

    It works fine with PHP 7.1 and previous versions.

    #1053791

    Hey Bestone01,

    Best regards,
    Victoria

    #1054074

    Sure, I’m aware of that but it seems like the Social Share Buttons, isn’t compatible with PHP +7.2. Might be because of WP core or the theme, but I don’t know. That’s why I posted it here :)

    #1054250

    Hi Bestone01,

    They are compatible with php 7.2, not sure about php7.3. Which version if Enfold are you running?

    Best regards,
    Victoria

    #1054536

    I’m using 7.2. It works on 7.1 but not 7.2

    #1055204

    Hi Bestone01,

    Here is a core WordPress ticket with the issue:
    https://core.trac.wordpress.org/ticket/42814

    If you need further assistance please let us know.
    Best regards,
    Victoria

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