• Resolved MeowOrNever

    (@meowornever)


    Only recently I have I started to see error message when opening a random page for editing:

    PHP Notice: Function register_rest_route was called incorrectly. The REST API route definition for wp-photo-album-plus/endPoint is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /srv/wiki/wp-includes/functions.php on line 6078

    I also see warnings, but only the above is serious enough to flash on my screen with DEBUGGING on:

    PHP Warning: Undefined array key “host” in /srv/wiki/wp-includes/canonical.php on line 730
    PHP Warning: Undefined array key “scheme” in /srv/wiki/wp-includes/canonical.php on line 751
    PHP Warning: Trying to access array offset on false in /srv/wiki/wp-includes/l10n.php on line 1203
    PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/wiki/wp-includes/l10n.php on line 1205

    The page I need help with: [log in to see the link]

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