Home Forums Newsletter Plugin Support PHP-Warnings in Backend

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #307150
    Sebastian
    Participant

    Hi there,

    i’m currently testing the plugin and installing the first add-ons. When i activate the forms add-on, i immediatly get warnings all over the Dashboard like: `

    Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/demos/my_test_domain/wp-includes/functions.php on line 7127

    Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/demos/my_test_domain/wp-includes/functions.php on line 2182 `.
    When i open “Status” i’ll get Deprecated: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/demos/my_test_domain/wp-admin/admin-header.php on line 36. It’s nothing major and everything seems to work fine so far. I think the problem is that i’m running on PHP 8.2. Up to which PHPversion is it tested?

    #307247
    Stefano
    Keymaster

    Hi, version 1.1.0 of that addon should solve the problem with PHP 8. If you don’t see the update, try to save the main Newsletter settings to reset the version cache.

    #307255
    Sebastian
    Participant

    Thanks for the quick fix. Everything is working as expected.

    #307268
    Sebastian
    Participant

    Sorry, I’ve found another thing.

    But nothing serious.

    Just an idea for the next update.strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

    and
    str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated both coming from `add_submenu_page()
    wp-content/plugins/newsletter-forms/plugin.php:88`

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