Duplicate menu items after update

  • Hi,


    I just upgraded a Perch 2.8.33 installation with Forms & Gallery add-ons on a staging server before doing so on the live site.


    The upgrade to 3.1.5 seems to go fine except for one thing: the main menu under "My Site" lists Pages, Forms, Forms, Forms, Forms, Gallery, Gallery, Gallery, Gallery instead of what should be up there: Pages, Forms, Gallery.


    I upgraded Forms and Gallery before upgrading, and updated the config/apps.php to:


    <?php

    $apps_list = [

    'perch_gallery',

    'perch_forms',

    ];


    I've also gone into Diagnostics/Add-on versions, and clicked the Menu management Rebuild now button. I also tried the "Update" link on that page. The three extra Forms and Gallery menu choices remain. Incidentally, all the Forms links point to the same add-on; the same with the multiple Gallery links. I can confirm there's only a single Forms app and a single Gallery app in perch/apps/


    Ideas?


    Thanks!


    Summary information:

    Summary information

    • Perch: 3.1.5, PHP: 7.2.12, MySQL: 5.5.60, with PDO
    • Server OS: Linux, cgi-fcgi
    • Installed apps: content (3.1.5), assets (3.1.5), categories (3.1.5), perch_forms (1.12), perch_gallery (2.8.9)
    • App runtimes: <?php $apps_list = [ 'perch_gallery', 'perch_forms', ];
    • PERCH_LOGINPATH: /perch
    • PERCH_PATH: /nfs/c05/h05/mnt/70481/domains/staging-literarywomen.org/html/perch
    • PERCH_CORE: /nfs/c05/h05/mnt/70481/domains/staging-literarywomen.org/html/perch/core
    • PERCH_RESFILEPATH: /nfs/c05/h05/mnt/70481/domains/staging-literarywomen.org/html/perch/resources
    • Image manipulation: GD
    • PHP limits: Max upload 200M, Max POST 200M, Memory: 99M, Total max file upload: 99M
    • F1: 3b606135b33e6a102526838f4152a807
    • Resource folder writeable: Yes
    • HTTP_HOST: staging-literarywomen.org.s70481.gridserver.com
    • DOCUMENT_ROOT: /home/70481/domains/staging-literarywomen.org/html
    • REQUEST_URI: /perch/core/settings/diagnostics/
    • SCRIPT_NAME: /perch/core/settings/diagnostics/index.php

    Perch information:

    • Perch: 3.1.5
    • Production mode: Production (100)
    • Installed apps: content (3.1.5), assets (3.1.5), categories (3.1.5), perch_forms (1.12), perch_gallery (2.8.9)
    • DB driver: PDO
    • DB tables: perch2_categories (0), perch2_category_counts (0), perch2_category_sets (0), perch2_content_index (34533), perch2_content_items (2680), perch2_content_regions (41), perch2_forms (0), perch2_forms_responses (0), perch2_gallery_albums (15), perch2_gallery_image_versions (2022), perch2_gallery_images (337), perch2_menu_items (16), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (1), perch2_pages (18), perch2_resource_log (11226), perch2_resource_tags (39), perch2_resources (1564), perch2_resources_to_tags (108), perch2_settings (21), perch2_user_passwords (0), perch2_user_privileges (36), perch2_user_role_privileges (26), perch2_user_roles (2), perch2_users (2)
    • Users: 2
    • App runtimes:
      PHP
      1. <?php
      2. $apps_list = [
      3. 'perch_gallery',
      4. 'perch_forms',
      5. ];
    • Editor plug-ins:
    • H1: ed9d9f37bae68a355a8b076c129b6225
    • L1: d36ac2fa5f96c3974c0bfbc51ff0daed
    • F1: 3b606135b33e6a102526838f4152a807
    • headerColour: #ffffff
    • content_singlePageEdit: 1
    • helpURL:
    • siteURL: /
    • hideBranding: 1
    • content_collapseList: 0
    • lang: en-gb
    • update_2.6: done
    • latest_version:
    • on_sale_version:
    • headerScheme: light
    • content_hideNonEditableRegions: 1
    • dashboard: 0
    • hide_pwd_reset: 0
    • content_frontend_edit: 0
    • update_2.6.2: done
    • update_2.8.8: done
    • perch_gallery_update: 2.8.5
    • update_2.8.33: done
    • update_3.1.5: done
    • PERCH_DEVELOPMENT: 10
    • PERCH_STAGING: 50
    • PERCH_PRODUCTION: 100
    • PERCH_DB_USERNAME: db70481_literary
    • PERCH_DB_SERVER: internal-db.s70481.gridserver.com
    • PERCH_DB_DATABASE: db70481_staging_literarywomen
    • PERCH_DB_PREFIX: perch2_
    • PERCH_TZ: America/Los_Angeles
    • PERCH_EMAIL_FROM: franz@copyanddesign.com
    • PERCH_EMAIL_FROM_NAME: Franz Neumann
    • PERCH_LOGINPATH: /perch
    • PERCH_PATH: /nfs/c05/h05/mnt/70481/domains/staging-literarywomen.org/html/perch
    • PERCH_CORE: /nfs/c05/h05/mnt/70481/domains/staging-literarywomen.org/html/perch/core
    • PERCH_RESFILEPATH: /nfs/c05/h05/mnt/70481/domains/staging-literarywomen.org/html/perch/resources
    • PERCH_RESPATH: /perch/resources
    • PERCH_HTML5: 1
    • PERCH_RUNWAY:
    • PERCH_ERROR_MODE: DIE
    • PERCH_DATE_LONG: %d %B %Y
    • PERCH_DATE_SHORT: %d %b %Y
    • PERCH_TIME_SHORT: %H:%M
    • PERCH_TIME_LONG: %H:%M:%S
    • PERCH_RUNWAY_ROUTED:
    • PERCH_STRONG_PASSWORDS:
    • PERCH_ASSET_VERSION: 6738d5d5f5664f7c5e34
    • PERCH_DEBUG:
    • PERCH_PREVIEW_ARG: preview
    • PERCH_TEMPLATE_PATH: /nfs/c05/h05/mnt/70481/domains/staging-literarywomen.org/html/perch/templates
    • PERCH_TEMPLATE_FILTERS:
    • PERCH_DEFAULT_DOC: index.php
    • PERCH_DEFAULT_EXT: .php
    • PERCH_PRODUCTION_MODE: 100
    • PERCH_XHTML_MARKUP:
    • PERCH_RWD: 1
    • PERCH_HTML_ENTITIES:
    • PERCH_SSL:
    • PERCH_STRIPSLASHES:
    • PERCH_PROGRESSIVE_FLUSH: 1
    • PERCH_PARANOID:
    • PERCH_FORCE_SECURE_COOKIES:
    • PERCH_DEFAULT_BUCKET: default
    • PERCH_TRANSLATION_ASSIST:
    • PERCH_PASSWORD_MIN_LENGTH: 6
    • PERCH_MAX_FAILED_LOGINS: 10
    • PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR
    • PERCH_VERIFY_UPLOADS:
    • PERCH_PRIV_ASSIST:
    • PERCH_CUSTOM_EDITOR_CONFIGS:
    • PERCH_ENABLE_EXIF: 1
    • PERCH_AUTH_PLUGIN:
    • PERCH_DB_CHARSET: utf8
    • PERCH_DB_PORT:
    • PERCH_DB_SOCKET:
    • PERCH_APPS_EDITOR_PLUGIN: markitup
    • PERCH_APPS_EDITOR_MARKUP_LANGUAGE: markdown

    Hosting settings

    • PHP: 7.2.12
    • Zend: 3.2.0
    • OS: Linux
    • SAPI: cgi-fcgi
    • Safe mode: not detected
    • MySQL client: 5.5.60
    • MySQL server: 5.6.40-84.0-log
    • Free disk space: 2.18 TB
    • Extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dba, dom, hash, fileinfo, filter, ftp, gd, gettext, SPL, iconv, session, intl, json, ldap, mbstring, standard, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, Reflection, imap, SimpleXML, soap, sockets, mysqlnd, exif, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, mysqli, cgi-fcgi
    • GD: Yes
    • ImageMagick: No
    • PHP max upload size: 200M
    • PHP max form post size: 200M
    • PHP memory limit: 99M
    • Total max uploadable file size: 99M
    • Resource folder writeable: Yes
    • Session timeout: 24 minutes
    • Native JSON: Yes
    • Filter functions: Yes
    • Transliteration functions: Yes
    • PATH: /usr/local/bin:/usr/bin:/bin
    • REDIRECT_HANDLER: php-latest
    • REDIRECT_STATUS: 200
    • UNIQUE_ID: XOrrcEYgRBEAAAwaHhgAAAAj
    • SCRIPT_URL: /perch/core/settings/diagnostics/
    • SCRIPT_URI: http://staging-literarywomen.o…ore/settings/diagnostics/
    • WM_UCONTROL_XMLRPC_SERVER: http://10.0.0.13
    • ACCESS_DOMAIN: s70481.gridserver.com
    • DATABASE_SERVER: internal-db.s70481.gridserver.com
    • SITE_ROOT: /home/70481
    • SITE_CGIROOT: /home/70481/cgi-bin
    • SITE_HTMLROOT: /home/70481/domains/staging-literarywomen.org/html
    • PHPRC: /home/70481/etc/
    • HTTP_HOST: staging-literarywomen.org.s70481.gridserver.com
    • HTTP_ACCEPT_ENCODING: gzip, deflate
    • HTTP_COOKIE: PHPSESSID=012fb078155a5e5b214e1e32d608fafb; cmsa=1; _ga=GA1.2.1606819735.1556165496
    • HTTP_CONNECTION: keep-alive
    • HTTP_UPGRADE_INSECURE_REQUESTS: 1
    • HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    • HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15
    • HTTP_REFERER: http://staging-literarywomen.o…ore/settings/diagnostics/
    • HTTP_DNT: 1
    • HTTP_ACCEPT_LANGUAGE: en-us
    • SERVER_SIGNATURE: <address>Apache/2.2.34 Server at staging-literarywomen.org.s70481.gridserver.com Port 80</address>
    • SERVER_SOFTWARE: Apache/2.2.34
    • SERVER_NAME: staging-literarywomen.org.s70481.gridserver.com
    • SERVER_ADDR: 70.32.68.122
    • SERVER_PORT: 80
    • REMOTE_ADDR: 47.147.75.176
    • DOCUMENT_ROOT: /home/70481/domains/staging-literarywomen.org/html
    • SERVER_ADMIN: webmaster@s70481.gridserver.com
    • SCRIPT_FILENAME: /home/70481/domains/staging-literarywomen.org/html/perch/core/settings/diagnostics/index.php
    • REMOTE_PORT: 35270
    • REDIRECT_QUERY_STRING: extended
    • REDIRECT_URL: /perch/core/settings/diagnostics/index.php
    • GATEWAY_INTERFACE: CGI/1.1
    • SERVER_PROTOCOL: HTTP/1.1
    • REQUEST_METHOD: GET
    • QUERY_STRING: extended
    • REQUEST_URI: /perch/core/settings/diagnostics/?extended
    • SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
    • ORIG_SCRIPT_FILENAME: /etc/apache2/gs-bin/php-latest
    • ORIG_PATH_INFO: /perch/core/settings/diagnostics/index.php
    • ORIG_PATH_TRANSLATED: /home/70481/domains/staging-literarywomen.org/html/perch/core/settings/diagnostics/index.php
    • ORIG_SCRIPT_NAME: /gs-bin/php-latest
    • PHP_SELF: /perch/core/settings/diagnostics/index.php
    • REQUEST_TIME_FLOAT: 1558899568.7802
    • REQUEST_TIME: 1558899568
    • argc: 1
  • drewm

    Approved the thread.