• Resolved ecommonist

    (@ecommonist)


    “PHP message: Error Unknown column ‘news’ in ‘field list’ de la base de datos de WordPress para la consulta INSERT INTO wp_xsg_sitemap_meta (itemId, itemType, exclude, priority, frequency, inherit, news)

    desc wp_xsg_sitemap_meta;
    +-----------+------------+------+-----+---------+-------+
    | Field     | Type       | Null | Key | Default | Extra |
    +-----------+------------+------+-----+---------+-------+
    | itemId    | int(11)    | YES  | MUL | 0       |       |
    | inherit   | int(11)    | YES  |     | 0       |       |
    | itemType  | varchar(8) | YES  |     |         |       |
    | exclude   | int(11)    | YES  |     | 0       |       |
    | priority  | int(11)    | YES  |     | 0       |       |
    | frequency | int(11)    | YES  |     | 0       |       |
    +-----------+------------+------+-----+---------+-------+

    Along with fore each error… 2.0.1 in WP 5.7.2. Fix both pls.

Viewing 1 replies (of 1 total)
  • Plugin Author xmlsitemapgenerator

    (@xmlsitemapgenerator)

    Thanks again …. This looks like an issue with the upgrade script.

    The following should have fired and hasn’t for some reason that I will need to investigate.

    “UPDATE {$tablemeta} ADD COLUMN news not null default 0 ”

    You could in theory do this yourself but that might break future upgrades.

Viewing 1 replies (of 1 total)
  • The topic ‘database field missed’ is closed to new replies.