Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #54043


Ignore:
Timestamp:
08/31/2021 06:27:01 PM (3 years ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54043

    • Property Component changed from General to REST API
  • Ticket #54043 – Description

    initial v1  
    11Here's is the full stack trace. Note, we do not alter core files in any way and it is updated to the latest version (5.8 at time of writing)... Note we recently upgraded to php8
    22
    3 timberry.bplans.com - PHP Fatal error: Uncaught ArgumentCountError: is_numeric() expects exactly 1 argument, 3 given in /home/sauron/code/global/wp/www/wp/wp-includes/rest-api/class-wp-rest-request.php:910
     3{{{
     4timberry.bplans.com - PHP Fatal error: Uncaught ArgumentCountError: is_numeric() expects exactly 1 argument, 3 given in .../www/wp/wp-includes/rest-api/class-wp-rest-request.php:910
    45Stack trace:
    5 #0 /home/sauron/code/global/wp/www/wp/wp-includes/rest-api/class-wp-rest-request.php(910): is_numeric('14102', Object(WP_REST_Request), 'id')
    6 #1 /home/sauron/code/global/wp/www/wp/wp-includes/rest-api/class-wp-rest-server.php(976): WP_REST_Request->has_valid_params()
    7 #2 /home/sauron/code/global/wp/www/wp/wp-includes/rest-api/class-wp-rest-server.php(414): WP_REST_Server->dispatch(Object(WP_REST_Request))
    8 #3 /home/sauron/code/global/wp/www/wp/wp-includes/rest-api.php(370): WP_REST_Server->serve_request('/custom-permali...')
    9 #4 /home/sauron/code/global/wp/www/wp/wp-includes/class-wp-hook.php(303): rest_api_loaded(Object(WP))
    10 #5 /home/sauron/code/global/wp/www/wp/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
    11 #6 /home/sauron/code/global/wp/www/wp/wp-includes/plugin.php(518): WP_Hook->do_action(Array)
    12 #7 /home/sauron/code/global/wp/www/wp/wp-includes/class-wp.php(388): do_action_ref_array('parse_request', Array)
    13 #8 /home/sauron/code/global/wp/www/wp/wp-includes/class-wp.php(750): WP->parse_request('')
    14 #9 /home/sauron/code/global/wp/www/wp/wp-includes/functions.php(1291): WP->main('')
    15 #10 /home/sauron/code/global/wp/www/wp/wp-blog-header.php(16): wp()
    16 #11 /home/sauron/code/global/wp/www/index.php(9): require('/home/sauron/co...')
     6#0 .../www/wp/wp-includes/rest-api/class-wp-rest-request.php(910): is_numeric('14102', Object(WP_REST_Request), 'id')
     7#1 .../www/wp/wp-includes/rest-api/class-wp-rest-server.php(976): WP_REST_Request->has_valid_params()
     8#2 .../www/wp/wp-includes/rest-api/class-wp-rest-server.php(414): WP_REST_Server->dispatch(Object(WP_REST_Request))
     9#3 .../www/wp/wp-includes/rest-api.php(370): WP_REST_Server->serve_request('/custom-permali...')
     10#4 .../www/wp/wp-includes/class-wp-hook.php(303): rest_api_loaded(Object(WP))
     11#5 .../www/wp/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
     12#6 .../www/wp/wp-includes/plugin.php(518): WP_Hook->do_action(Array)
     13#7 .../www/wp/wp-includes/class-wp.php(388): do_action_ref_array('parse_request', Array)
     14#8 .../www/wp/wp-includes/class-wp.php(750): WP->parse_request('')
     15#9 .../www/wp/wp-includes/functions.php(1291): WP->main('')
     16#10 .../www/wp/wp-blog-header.php(16): wp()
     17#11 .../www/index.php(9): require('/home/saur...')
    1718#12 {main}
    18  thrown in /home/sauron/code/global/wp/www/wp/wp-includes/rest-api/class-wp-rest-request.php on line 910
     19 thrown in .../www/wp/wp-includes/rest-api/class-wp-rest-request.php on line 910
     20}}}