• Resolved JChimene

    (@jchimene)


    [RESOLVED] It’s from seo-by-rank-math
    find . -type f -iname *.php -exec grep -Hn "WAP AI Assistant" {} \;
    ./seo-by-rank-math/vendor/groupone/wap-client/wap-client.php:157: __('WAP AI Assistant requires HTTPS to use WordPress Application Passwords. The AI chat widget will be hidden until this site is served over HTTPS. Learn more.', 'wap-client'),

    This is a message at the top of my dashboard. I have no idea where it’s coming from. I cannot close the message. The message directs to instructions for WP 5.1
    The site is served over https://

    How do I get rid of this message?

    WAP AI Assistant requires HTTPS to use WordPress Application Passwords. The AI chat widget will be hidden until this site is served over HTTPS. Learn more.

    • This topic was modified 3 weeks ago by JChimene.
    • This topic was modified 3 weeks ago by JChimene.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    What was your solution? it may help someyone else with similar issue. Thanks.

    Thread Starter JChimene

    (@jchimene)

    Echh, I thought it was posted. My apologies. Either use the plugin file editor or vim. From your WP root
    vim ./wp-content/plugins/seo-by-rank-math/vendor/groupone/wap-client/wap-client.php
    Change line 160 to add the style attribute

    printf('<div style="display: none" class="notice notice-warning"><p>%s</p></div>', wp_kses_post($message));

    [EDITED] I think you could also employ the “dismissable” (?) class. I haven’t tried that.
    I should also note that:
    1. The plugin URI in the plugin header is a 404
    2. The “contact us” link on the group.one page has a JavaScript error

    Moderator threadi

    (@threadi)

    Its already fixed by Rank Math. See: https://wordpress.org/support/topic/bug-report-wap-ai-assistant-falsely-claims-requires-https/

    And I would advise against modifying plugin code. Temporarily deactivating it until the developer releases an update would be the better approach, since you never know what consequences the change might have.

    Thread Starter JChimene

    (@jchimene)

    It’s a display:none on an admin popup. Thanks for the pointer to the fix

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.