• Hi Lester,

    Getting the following error in PHP 8.0 WP 6.2

    strpos(): Empty needle in wp-content/plugins/wp-polls/wp-polls.php on line 1343

    This is happening when the plugin is active but when we do not select any poll.

Viewing 1 replies (of 1 total)
  • Plugin Author Lester Chan

    (@gamerz)

    Your poll_archive_url is blank?

    1343 is if ( strpos( $current_url, strval( $poll_archive_url ) ) === false ) {

    And the needle refers to $poll_archive_url

Viewing 1 replies (of 1 total)
  • The topic ‘strpos error in PHP 8.0 WP 6.2’ is closed to new replies.