I started getting this error all over my site where the add to any buttons are displayed:

Argument #1 ($haystack) must be of type string, stdClass() given to strpos() in common.inc

Reverted back to 4.16 and the issue went away. Running Drupal 7.94 on PHP 8.0.22.

Comments

davedg629 created an issue. See original summary.

rgnyldz’s picture

Priority: Normal » Major

I can confirm that 7.x-4.17 is breaking either the buttons or the site completely.

On one site only the buttons dissapeared. On another site I got WSOD

Changing this to major.

mattia.cristallo’s picture

Same WSOD
Running Drupal 7.94 PHP 5.6.40
error.log
PHP Parse error: syntax error, unexpected '?' in /sites/all/modules/addtoany/addtoany.module on line 289

  • micropat committed f3ec843f on 7.x-4.x
    Revert 7.x-4x commits after 9b7d59d3
    
    7.x-4.17 has issues such as #...
micropat’s picture

Status: Active » Fixed

Thanks for the reports.

This should be fixed in the 7.x-4.18 release, which is functionally equivalent to 7.x-4.16.

rgnyldz’s picture

Updated to 7.x-4.18. Can confirm it's working fine now. Great work you guys :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.