• These mess up my admin screen on my dev site. Please fix this.

    I verified these appear with no other plugin activated and come from only activating SupportCandy.

    WP 6.4.3

    PHP version 8.1.23 (Supports 64bit values)

    Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in...functions.php on line 7241
    
    Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in...functions.php on line 2187
    
    Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in...functions.php on line 7241
    
    Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in...functions.php on line 2187
Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Support Milind Ighe

    (@miliighe)

    Hello Nico,

    Thanks for contacting us. I hope you are doing well.

    We need to debug the issue, please create a ticket on our support portal.

    Thank you.

    @miliighe, I’m seeing this to, ever since updating to the latest SC. It is not unique to @nico23. I hope you will report it back here when you fix it.

    • This reply was modified 8 months, 3 weeks ago by Mike Witt.
    Plugin Support Milind Ighe

    (@miliighe)

    Hello Mike,

    Thanks for reporting this.

    We are investigating the issue, I will get back to you soon.

    Thanks for your patience over the issue.

    Plugin Support Milind Ighe

    (@miliighe)

    Hello,

    We found the issue and fix as well. The fix will included in the next version. If you need a quick fix, please create a support ticket on our support portal.

    Thank you.

    That sounds good @miliighe. I’m happy to wait for the next update.

    Thread Starter Nico

    (@nico23)

    I reported this 1 month ago. This was set to “resolved” even though it’s not!

    The fix will included in the next version.

    @miliighe

    Last version was released 3 days ago and it’s still not fixed.

    Not sure if this is the same thing but even when I suppress the deprecation notices

    error_reporting(error_reporting() & ~E_DEPRECATED);

    Supportcandy fucks up my admin. There is like a space on the top of the sidebar, when scrolling you see it’s wrong.


    I can not type spaces in the post titles, it scrolls down instead. And its cause by Supportcandy, no other plugin active, deactivating it makes these issues go away.

    Plugin Support Milind Ighe

    (@miliighe)

    Hello Nico,

    Sorry for delay in releasing the new version.

    We have updated the compatibility of the SupportCandy plugin with WordPress’s new version which was just release 5 days ago. This is not a new version of SupportCandy.

    We are going to release the new version by the end of this week which will include the fix for the issue.

    If you have an urgency then please raise a support ticket on our Support portal, and we will help you with the quick fix.

    Thank you.

    • This reply was modified 7 months, 2 weeks ago by Milind Ighe.
    Thread Starter Nico

    (@nico23)

    No, I did not confuse WP release, it says here

    Last updated:4 days?ago

    wp.org/plugins/supportcandy/

    Seems you just updated the readme or something that shows it as updated. I assumed it’s a new version.

    You did not really clearly confirm if the issue I was explaining later on is going to be fixed. Again, the deprecation notices can be suppressed, they cause “header already send” issue that is normal, and they can mess things up. BUT even when suppressing this, there is a different issue. So I do not know what “the issue” is you talking about. Deprecation notices are not a big deal, the other thing is.

    Plugin Support Milind Ighe

    (@miliighe)

    Hello Nico,

    Sorry for overlooking.

    Please go to Support > Settings > General Settings > Page Settings > Load Script > Select Custom > Select Support Pages only > Save the changes.

    This will load the SupportCandy script only on support pages and does not cause issues on other pages.

    I hope this will resolve the issue. If not then please create a ticket on our support portal to debug further.

    Thank you.

    Thread Starter Nico

    (@nico23)

    I already have that option enabled, in fact, you created that option after showed you how to enqueue the script only when SC actually loads. Not idea why you went with this manual solution. It could be automatic for everyone without any option.

    Anyway, is that not for frontend only? I think it has absolutely nothing to do with the issue I am having. It’s on the admin screens. On all of them!

    So no, this does not resolve it.

    Plugin Support Milind Ighe

    (@miliighe)

    Hello Nico,

    We tried to reproduce the issue on our end but were unable to do it. Please create a ticket on our support portal so we can try to reproduce the issue on your site.

    Thank you.

    Plugin Support Milind Ighe

    (@miliighe)

    Hello @nico23 @mike80222,

    A new version has been released yesterday. Please update to the latest version and check for the issues.

    Let us know the outcomes.

    Thank you.

    Mike Witt

    (@mike80222)

    Hi @miliighe,

    Thanks for the update. We typically update our main sites once a month, after testing out the new plugins. I’ll see if I can take a look at the new SC (and piping) on our test site, but the test site is busy with something else right now, so I can’t do it right away.

    @miliighe, @nico23:

    I was able to update SC on my test site today and give it a quick look. No extensive testing, but that deprecation error appears to be fixed, and I didn’t see any other obvious problems.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Deprecation notices about str_ functions’ is closed to new replies.