• Resolved Rich Tape

    (@iamfriendly)


    Warning: strpos(): Empty needle in /path/to/content/plugins/wp-cassify/classes/wp_cassify_plugin.php on line 768

    is showing on every page load of the home page on the main site in a network (regardless of signed in or not). (i.e. when get_blog_details()->path is just / )

    In this scenario $duplicate_path_to_remove and $duplicate_path_to_replace are both empty, and hence the warning.

    This can be solved by changing line 768 to

    if ( ! empty( $duplicate_path_to_remove ) && strpos( $wp_cassify_callback_service_url, $duplicate_path_to_remove ) !== false ) {

    Sure I still can’t convince you to put this on github so I can make pull requests and make your life easier? ??

    https://www.ads-software.com/plugins/wp-cassify/

Viewing 1 replies (of 1 total)
  • Hi,

    Thanks for the fix, i integrate in next release.

    On the other hand, i’m very sorry but i don’t want put my plugin on github, i prefer stay on www.ads-software.com platform only. It is a strategic decision on my part.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP warning in 1.9.6 on PHP 7’ is closed to new replies.