• Hello,

    we are in the process of ruling out certain circumstances.

    The following issue is occurring:

    All links in the admin area work fine. Except one link. One link that belongs to a plugin is not working properly. The slug /wp-admin/ we omitted.

    On the one hand, the database complains that table columns are missing, on the other hand, PHP tries to edit headers after starting the body.

    By the way, the problem only occurs when you install the plugin in question. With others everything works.

    To clarify:

    First step: WP is installed quite fresh. No adjustments are made.

    Second step: The respective plugin is installed.

    Immediately we get the following error message in the debug log:

    [02-Mar-2023 23:18:55 UTC] WordPress database error Table ‘xxx_xx.xx_xx_xxxx_xxxxx’ doesn’t exist for query SELECT a.id FROM xx_xx_xxxx_xxxxx a WHERE parent_id = 0 AND type = ‘xxxxx’ made by require_once(‘wp-admin/admin. php’), do_action(‘admin_init’), WP_Hook->do_action, WP_Hook->apply_filters, xx_xxxx_xxx, do_action(‘xx_xxxx_xxxx’), WP_Hook->do_action, WP_Hook->apply_filters, xx_xxx_xxx_xxxx, do_action(‘xx_xxx_xxx_xxxx’), WP_Hook->do_action, WP_Hook->apply_filters, xx_xxxx->xxxxx_xxxx_xxxxx, require_once(‘/plugins/xxxx. php’), xx_xxx->__xxxx, xx_xxx_xxxxx->xxxx_xxxx, xxx_xxx_xxx_xxx, xxx_xxx_xxxx_xxxx_xxxx_xxxx

    [02-Mar-2023 23:18:55 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /some/path/wp-includes/class-wpdb.php:1634) in /some/path/wp-admin/includes/misc.php on line 1416

    [02-Mar-2023 23:18:55 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /some/path/wp-includes/class-wpdb.php:1634) in /some/path/wp-includes/functions.php on line 6865

    [02-Mar-2023 23:18:55 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /some/path/wp-includes/class-wpdb.php:1634) in /some/path/wp-admin/admin-header.php on line 9

    In the admin area the following occurs:

    Then under the associated settings of the plugin clicked on the respective link. An incomplete URL is output. Instead of https://www.someurl.io/wp-admin/admin.php?page=xxxxxx-xxxx https://www.someurl.io is output, but the correct content appears .

    If you then click on another menu item, you are redirected to an incorrect URL and receive a 404 error. The slug /wp-admin/ is missing! Instead of e.g. https://www.someurl.io/wp-admin/edit.php https://www.someurl.io/edit.php is displayed.

    The error only occurs when you click on the one specific link of the plugin settings. All other links work.

    Where could be the problem? Is this a programming error?


    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter 4this

    (@pilgrim73)

    Hello,

    such a rare challenge?

    On the one hand, the “WordPress database error Table ‘xxx’ doesn’t exist for query SELECT a.id FROM xxx” error.

    On the other hand, the omission of the /wp-admin/ slug.

    2 related problems?

    Good day.

Viewing 1 replies (of 1 total)
  • The topic ‘Slug /wp-admin/ is omitted’ is closed to new replies.