• Resolved girl_number_5

    (@trutherone)


    Hi,
    Thanks for the update – just installed but experiencing problems. All domain checks result in the same outcome ‘invalid’ even when i check domains which i know are taken or available.

    Dont know if its got anything to do with a warning which is appearing in the debug log :
    [25-Mar-2020 22:34:00 UTC] PHP Warning: Use of undefined constant selectionType - assumed 'selectionType' (this will throw an Error in a future version of PHP) in: .../wp-content/plugins/wp24-domain-check/includes/class-wp24-settings.php on line 688

    I manually changed the constant to a string (added single quotes) as suggested in the message -this makes the error go away but still cant check a domain without getting ‘invalid’ returned for everything.

    any ideas??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WP24

    (@wp24dotorg)

    I am not able to reproduce this error. Which WordPress and PHP Version are you using?
    The warning you posted has no impact on this.
    Are you familiar to the developer console of your browser and could take a look on which request is send to the server. See: https://stackoverflow.com/questions/15603561/how-can-i-debug-a-http-post-in-chrome
    The request parameters should look like

    domain "testrequest123"
    tld "com"
    recaptcha ""

    The answer like:

    domain "testrequest123"
    tld "com"
    status "available"
    Thread Starter girl_number_5

    (@trutherone)

    Tried that in developer console and i’m getting :

    {domain: "mysite.com", tld: "com", status: "invalid"}
    domain: "mysite.com"
    tld: "com"
    status: "invalid"

    In the above test i entered 'coco-logo' for the domain name and 'com' was selected from the tld select menu.

    Actually the above result is from the ‘Preview’ Tab in Network. The ‘Form data’ on the ‘Headers’ Tab reads:

    domain: coco-logo
    tld: com
    recaptcha:

    So appears to be ok – im on the latest version of WordPress and running PHP 7.3.x and its being used on the main domain only of a multi-site (not network activated).

    Ill have to re-install the old plugin version for now since i need to get on.

    Cheers.

    Plugin Author WP24

    (@wp24dotorg)

    The problem is now fixed, in version 1.2.1.
    Multisite was the deciding hint.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Latest update errors’ is closed to new replies.