• Resolved Argentum

    (@argentum)


    Hi,

    I am getting two errors in dev console when entering the Database Cleaner Page. Both errors tries to read from a location that does not exist.

    GET https: // www. mysite .com/wp-json/database-cleaner/v1/list_post_types/
    500 (Internal Server Error)

    GET https: // www. mysite. com/wp-json/database-cleaner/v1/db_sizes/
    500 (Internal Server Error)

    **Spaces added to url to dissuade any auto linking.**

    • This topic was modified 1 year, 1 month ago by Argentum.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    Can you check your PHP Error Logs (https://meowapps.com/tutorial-php-error-logs/) and let me know what you find in them?

    Thread Starter Argentum

    (@argentum)

    Yes, I enabled them and this i the log for one view of the Database Cleaner page.

    [25-Oct-2023 05:06:42 UTC] PHP Fatal error:  Uncaught TypeError: Illegal offset type in isset or empty in /public_html/wp-includes/pomo/translations.php:92
    
    Stack trace:
    
    #0 /public_html/wp-includes/pomo/translations.php(107): Translations->translate_entry()
    
    #1 /public_html/wp-includes/l10n.php(186): Translations->translate()
    
    #2 /public_html/wp-includes/l10n.php(297): translate()
    
    #3 /public_html/wp-content/plugins/database-cleaner/classes/rest.php(1119): __()
    
    #4 /public_html/wp-content/plugins/database-cleaner/classes/rest.php(278): Meow_DBCLNR_Rest->add_table_info_data()
    
    #5 /public_html/wp-includes/rest-api/class-wp-rest-server.php(1194): Meow_DBCLNR_Rest->rest_db_sizes()
    
    #6 /public_html/wp-includes/rest-api/class-wp-rest-server.php(1041): WP_REST_Server->respond_to_request()
    
    #7 /public_html/wp-includes/rest-api/class-wp-rest-server.php(431): WP_REST_Server->dispatch()
    
    #8 /public_html/wp-includes/rest-api.php(418): WP_REST_Server->serve_request()
    
    #9 /public_html/wp-includes/class-wp-hook.php(310): rest_api_loaded()
    
    #10 /public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    
    #11 /public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
    
    #12 /public_html/wp-includes/class-wp.php(398): do_action_ref_array()
    
    #13 /public_html/wp-includes/class-wp.php(779): WP->parse_request()
    
    #14 /public_html/wp-includes/functions.php(1335): WP->main()
    
    #15 /public_html/wp-blog-header.php(16): wp()
    
    #16 /public_html/index.php(17): require('/public_html/...')
    
    #17 {main}
    
      thrown in /public_html/wp-includes/pomo/translations.php on line 92
    
    [25-Oct-2023 05:06:42 UTC] PHP Fatal error:  Uncaught TypeError: Illegal offset type in isset or empty in /public_html/wp-includes/pomo/translations.php:92
    
    Stack trace:
    
    #0 /public_html/wp-includes/pomo/translations.php(107): Translations->translate_entry()
    
    #1 /public_html/wp-includes/l10n.php(186): Translations->translate()
    
    #2 /public_html/wp-includes/l10n.php(297): translate()
    
    #3 /public_html/wp-content/plugins/database-cleaner/classes/rest.php(1129): __()
    
    #4 /public_html/wp-content/plugins/database-cleaner/classes/rest.php(368): Meow_DBCLNR_Rest->add_post_type_info_data()
    
    #5 /public_html/wp-includes/rest-api/class-wp-rest-server.php(1194): Meow_DBCLNR_Rest->rest_list_post_types()
    
    #6 /public_html/wp-includes/rest-api/class-wp-rest-server.php(1041): WP_REST_Server->respond_to_request()
    
    #7 /public_html/wp-includes/rest-api/class-wp-rest-server.php(431): WP_REST_Server->dispatch()
    
    #8 /public_html/wp-includes/rest-api.php(418): WP_REST_Server->serve_request()
    
    #9 /public_html/wp-includes/class-wp-hook.php(310): rest_api_loaded()
    
    #10 /public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    
    #11 /public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
    
    #12 /public_html/wp-includes/class-wp.php(398): do_action_ref_array()
    
    #13 /public_html/wp-includes/class-wp.php(779): WP->parse_request()
    
    #14 /public_html/wp-includes/functions.php(1335): WP->main()
    
    #15 /public_html/wp-blog-header.php(16): wp()
    
    #16 /public_html/index.php(17): require('/public_html/...')
    
    #17 {main}
    
      thrown in /public_html/wp-includes/pomo/translations.php on line 92

    fidoboy

    (@fidoboy)

    I can confirm the issue. For me, also having 401 response (not authorized)

    • This reply was modified 1 year ago by fidoboy.
    Plugin Author Jordy Meow

    (@tigroumeow)

    Hi @fidoboy,

    You mean you have the same error in the PHP Error Logs? Because if it’s simply a 500, it can be this or anything else as well ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘500 (Internal Server Error)’ is closed to new replies.