Menu Items stay Unpublished when edited Topic is solved

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
bloatyhead
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sat Nov 20, 2021 8:29 pm

Menu Items stay Unpublished when edited

Post by bloatyhead » Wed Dec 06, 2023 11:06 am

Hi all,

When I go to edit a menu item for my site and save it, it becomes unpublished. When I try to publish it again an error reads:

"Error
Failed publishing 1 menu item as at least one of its parents is unpublished or one of its children is checked out."

The menu items in question don't have parents, and they don't have any 'checked out' children. This is quite a serious glitch as the entire products page for the website became unviewable! I had to quickly create a new menu item to replace it (renamed the alias for the original one first) and saved it - the Published status seemed to be retained. Then when I tried to change the ordering of the menu item and resave, it kept defaulting back to Unpublished again! I made another attempt at recreating the menu item and this time I didn't make any amendments to it beyond the first Save, so it's ordering is still wrong but at least it's staying Published.

I'm not going to be able to edit any of my menu items until this is resolved obviously, so it's quite a problem.

Akeeba Repair & Optimise Tables hasn't helped. Does anyone have any ideas what could be causing this?

PHP 8.1.25
Joomla 3.10.12

Many thanks!!
Forum Post Assistant (v1.6.6) : 6-Dec-2023 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.10.12-Stable (Daraja) 8-July-2023
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Writable (644) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: true | .htaccess/web.config: Yes | GZip: true | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 60 | Session handler: database | Shared sessions: false | SSL: 2 | Error Reporting: none | Site Debug: false | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.10.12: Yes | Database Supports J! 3.10.12: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 4.18.0-477.21.1.lve.1.el7h.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 568.35 GiB |

PHP Configuration :: Version: 8.1.25 | PHP API: litespeed | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 32767 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 128M | Max. POST Size: 128M | Max. Input Time: -1 | Max. Execution Time: 300 | Memory Limit: 768M

Database Configuration :: Version: 10.5.22-MariaDB-cll-lve (Client:3.1.22) | Database Size: 61.97 MiB | #of Tables with config prefix:  265 | #of other Tables:  0 | User Privileges : GRANT ALL
Detailed Environment :: wrote:PHP Extensions :: Core (8.1.25) | date (8.1.25) | libxml (8.1.25) | openssl (8.1.25) | pcre (8.1.25) | sqlite3 (8.1.25) | zlib (8.1.25) | bz2 (8.1.25) | calendar (8.1.25) | ctype (8.1.25) | curl (8.1.25) | hash (8.1.25) | filter (8.1.25) | ftp (8.1.25) | gettext (8.1.25) | json (8.1.25) | iconv (8.1.25) | SPL (8.1.25) | pcntl (8.1.25) | readline (8.1.25) | Reflection (8.1.25) | session (8.1.25) | standard (8.1.25) | mbstring (8.1.25) | shmop (8.1.25) | SimpleXML (8.1.25) | tokenizer (8.1.25) | xml (8.1.25) | litespeed () | i360 (7.10.0) | bcmath (8.1.25) | dba (8.1.25) | dom (20031129) | enchant (8.1.25) | fileinfo (8.1.25) | gd (8.1.25) | imap (8.1.25) | intl (8.1.25) | ldap (8.1.25) | exif (8.1.25) | mysqli (8.1.25) | mysqlnd (mysqlnd 8.1.25) | odbc (8.1.25) | PDO (8.1.25) | pdo_mysql (8.1.25) | PDO_ODBC (8.1.25) | pdo_pgsql (8.1.25) | pdo_sqlite (8.1.25) | pgsql (8.1.25) | Phar (8.1.25) | posix (8.1.25) | pspell (8.1.25) | soap (8.1.25) | sockets (8.1.25) | sysvmsg (8.1.25) | sysvsem (8.1.25) | sysvshm (8.1.25) | tidy (8.1.25) | xmlreader (8.1.25) | xmlwriter (8.1.25) | xsl (8.1.25) | zip (1.19.5) | Zend Engine (4.1.25) |
Potential Missing Extensions ::

Switch User Environment :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (755) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 354958 | Threads: 143 | Questions: 181574817 | Slow queries: 345 | Opens: 498581 | Open tables: 32768 | Queries per second avg: 511.538 |
Extensions Discovered :: wrote:Components :: Site ::
Core :: com_mailto (3.0.0) 1 | com_wrapper (3.0.0) 1 |
3rd Party::

Components :: Admin ::
Core :: com_newsfeeds (3.0.0) 1 | com_installer (3.0.0) 1 | com_login (3.0.0) 1 | com_content (3.0.0) 1 | com_redirect (3.0.0) 1 | com_cache (3.0.0) 1 | com_languages (3.0.0) 1 | com_ajax (3.2.0) 1 | com_cpanel (3.0.0) 1 | com_associations (3.7.0) 1 | com_actionlogs (3.9.0) 1 | com_finder (3.0.0) 1 | com_messages (3.0.0) 1 | com_joomlaupdate (3.10.1) 1 | com_media (3.0.0) 1 | com_menus (3.0.0) 1 | com_checkin (3.0.0) 1 | com_privacy (3.9.0) 1 | com_config (3.0.0) 1 | com_admin (3.0.0) 1 | com_templates (3.0.0) 1 | com_categories (3.0.0) 1 | com_users (3.0.0) 1 | com_banners (3.0.0) 1 | com_modules (3.0.0) 1 | com_fields (3.7.0) 1 | com_postinstall (3.2.0) 1 | com_search (3.0.0) 1 | com_contenthistory (3.2.0) 1 | com_plugins (3.0.0) 1 | com_tags (3.1.0) 1 |
3rd Party:: COM_PRODUCTBUILDER (3.1.6) 1 | com_sitemapgenerator (1.4.1) 1 | COM_ADVANCEDMODULES (9.9.0) 1 | COM_CUSTOMFILTERS (2.15.3) 1 | COM_CSVI (8.9.3) 1 | Admintools (6.1.11) 1 | VM Invoice 3 (3.1.26) 1 | VirtueMart_allinone (-) 1 | VirtueMart_allinone (-) 1 | Akeeba (8.3.3) 1 | COM_JOOMLA_NETWORKSECURITY (3.2) 1 | GDPR (2.10.1) 1 | com_tagz (5.0 FREE) 1 | VIRTUEMART (-) 1 | ECB Currency Converter (1.0) ? | Simple Social Media Stream (3.22.0) 1 | tcpdf (1.0.0) 1 | tcpdf (1.2.8) 1 | com_rsform (3.2.2) 1 |

Modules :: Site ::
Core :: mod_custom (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_search (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_articles_latest (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_login (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_articles_popular (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_menu (3.0.0) 1 |
3rd Party:: mod_virtuemart_search (4.0.23) 1 | mod_cf_search (2.15.2) 1 | mod_virtuemart_manufacturer (4.0.23) 1 | JUX Portfolio (2.3.4) 1 | RSForm! Pro Module (3.0.1) 1 | mod_virtuemart_cart (4.0.23) 1 | mod_virtuemart_currencies (4.0.23) 1 | mod_virtuemart_category (4.0.23) 1 | mod_cf_filtering (2.15.3) 0 | mod_virtuemart_product (4.0.23) 1 | RSForm! Pro Module List (3.0.5) 1 | mod_cf_breadcrumbs (2.15.3) 1 | Social Stream Module for Simple Soc (3.22.0) ? |

Modules :: Admin ::
Core :: mod_custom (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_title (3.0.0) 1 | mod_status (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_popular (3.0.0) 1 | mod_login (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_toolbar (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_version (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_quickicon (3.0.0) 1 |
3rd Party:: VirtueMart Administrator Menu (4.2.4) ? |

Libraries ::
Core ::
3rd Party:: Helvetica (-) ? | Free Mono (-) ? | file_fof30 (3.6.2) ? | Regular Labs Library (23.9.3039) 1 | file_fof40 (4.1.1) ? |

Plugins ::
Core :: plg_fields_calendar (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_system_p3p (3.0.0) 0 | plg_system_redirect (3.0.0) 0 | plg_system_highlight (3.0.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_fields (3.7.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_updatenotification (3.5.0) 0 | plg_system_logrotation (3.9.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_languagefilter (3.0.0) 0 | plg_system_debug (3.0.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_remember (3.0.0) 1 | plg_system_log (3.0.0) 1 | plg_system_stats (3.5.0) 1 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 1 | plg_search_content (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_search_tags (3.0.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_finder (3.0.0) 0 | plg_content_pagenavigation (3.0.0) 1 | plg_content_vote (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_emailcloak (3.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_eos310 (3.10.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_authentication_gmail (3.0.0) 0 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_privacy_message (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_user_terms (3.9.0) 0 | plg_user_joomla (3.0.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_user_profile (3.0.0) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_twofactorauth_totp (3.2.0) 0 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_module (3.5.0) 0 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_extension_joomla (3.0.0) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_installer_webinstaller (2.1.2) 1 | plg_installer_packageinstaller (3.6.0) 1 | PLG_ACTIONLOG_JOOMLA (3.9.0) 1 | plg_captcha_recaptcha (3.4.0) 1 | plg_captcha_recaptcha_invisible (3.8) 0 |
3rd Party:: RO CSVI Import Product Cart Variant (8.9.3) 1 | RO CSVI Import Text Input (8.9.3) 1 | RO CSVI Import Product Filter by Cu (8.9.3) ? | RO CSVI Breakdesigns Customfields (8.9.3) 1 | PLG_CSVIEXT_JOOMLACUSTOMFIELDS_TITL (8.9.3) ? | RO CSVI Import articles (8.9.3) 1 | PLG_CONSOLE_ROCSVI (<version>8.9.) 1 | PLG_CSVIADDON_MENUS_TITLE (8.9.3) 1 | PLG_CSVIADDON_CUSTOMFILTERS_TITLE (8.9.3) 1 | PLG_CSVIADDON_FIELDS_TITLE (8.9.3) 1 | PLG_CSVIADDON_USERS_TITLE (8.9.3) 1 | PLG_CSVIADDON_CONTENT_TITLE (8.9.3) 1 | PLG_CSVIADDON_MODULES_TITLE (8.9.3) 1 | PLG_CSVIADDON_TAGS_TITLE (8.9.3) 1 | PLG_CSVIADDON_PRODUCTBUILDER_TITLE (8.9.3) 1 | PLG_CSVIADDON_CATEGORIES_TITLE (8.9.3) 1 | PLG_CSVIADDON_CSVI_TITLE (8.9.3) 1 | PLG_CSVIADDON_RSFORM_TITLE (8.9.3) 1 | PLG_CSVIADDON_VIRTUEMART_TITLE (8.9.3) 1 | Ajax - Custom Fields For All (1.0.3) 1 | VM - Calculation Avalara Tax (4.2.4) ? | GJC VM3 and VM4 VM Postcode Shippin (4.0.0) ? | OTSHIPMENT_RULES_ADV (6.2.4) 0 | By weight, ZIP and countries (4.2.4) ? | PLG_SYSTEM_AKVERSIONCHECK (6.1.11) 1 | PLG_SYSTEM_ROLANDD_TITLE (8.9.3) 1 | Base Custom Fields for All (3.2.3) 0 | AMAZON (4.2.4) ? | System - VP One Page Checkout (7.18) 1 | PLG_SYSTEM_MODALS (12.6.1) 1 | System - RSForm! Pro Delete Submiss (1.0.0) ? | PLG_SYSTEM_ADVANCEDMODULES (9.9.0) 1 | PLG_SYSTEM_BACKUPONUPDATE (8.3.3) 0 | System - TAGZ Open Graph (5.0 FREE) 1 | System - Aimy Canonical (27.1) 1 | PLG_SYSTEM_SOURCERER (9.8.0) 1 | System - RSForm! Pro reCAPTCHA v2 (3.1.2) 1 | Breakdesigns AJAX (1.1.0) 1 | PLG_SYSTEM_REGULARLABS (23.9.3039) 1 | PLG_SYSTEM_VMLOADERPLUGINUPDATE (4.2.4) ? | PLG_SYSTEM_SIMPLESOCIALSTREAMNOTIFI (3.22.0) ? | plg_system_headtag (3.5.10) 0 | plg_system_nnframework (16.1.25452) 0 | PLG_SYSTEM_ADMINTOOLS (6.1.11) 1 | System - BIT Conditional Shopper Fi (1.4.0) ? | WWM Product Zoom Pro for Virtuemart (1.0) 0 | PLG_SYSTEM_JNSPREDIRECT_NAME (3.2) 1 | (3.1.26) ? | System - Google Analytics (4.6.1) 1 | System - GDPR (2.10.1) 1 | PLG_SYSTEM_MODULESANYWHERE (7.18.0) 1 | Google Tag Manager (1.0.0) 1 | Search - VirtueMart (4.2.4) ? | RO CSVI Margin (8.9.3) 1 | RO CSVI Field Copy (8.9.3) 1 | RO CSVI Conditional (8.9.3) 1 | RO CSVI Mulitple Replace (8.9.3) 1 | RO CSVI Find And Skip (8.9.3) 1 | RO CSVI Field Combine (8.9.3) 1 | Realex_hpp_api (4.2.4) ? | AMAZON (4.2.4) ? | Heidelpay (16.11.07) ? | Authorize.net AIM (4.2.4) ? | Sofort Ideal (4.2.4) ? | PayPal Checkout (4.2.4) 0 | Sofort (4.2.4) ? | VM Payment - klikandpay (4.2.4) ? | WorldPay HTML Direct (1.3.17) 1 | PayPal (deprecated, please use PayP (4.2.4) ? | 2Checkout (4.2.4) ? | VM Payment - Paybox System 3D V2 (4.2.4) ? | realex_hpp_api (4.0.0) ? | Standard (4.2.4) ? | VM Payment - eway (4.2.4) ? | Skrill (4.2.4) ? | plg_quickicon_akeebabackup (8.3.3) 0 | PLG_AUTHENTICATION_MINIORANGENETWOR (3.2) ? | plg_editors_tinymce (4.5.12) 1 | plg_editors_codemirror (5.60.0) 1 | PLG_USER_MINIORANGEJOOMLANETWORKSEC (3.2) ? | VMCustom - textinput (4.2.4) ? | plgvm_specification (4.2.4) ? | Custom Fields for All (4.4.4) 1 | VM - Custom, Virtuemart Simple Down (${PHING.VERSI) ? | Stockable Customfields (1.7.0) 1 | Page Cache - RSForm! Pro (1.0.0) 1 | PLG_EDITORS-XTD_MODALS (12.6.1) 1 | PLG_EDITORS-XTD_SOURCERER (9.8.0) 1 | PLG_EDITORS-XTD_MODULESANYWHERE (7.18.0) 1 | plg_installer_rsform (1.0.0) 1 | PLG_ACTIONLOG_ADVANCEDMODULES (9.9.0) 1 | PLG_ACTIONLOG_ADMINTOOLS (6.1.11) 1 | PLG_ACTIONLOG_AKEEBABACKUP (8.3.3) 0 |
Templates Discovered :: wrote:Templates :: Site :: protostar (1.0) 1 | horme_3 (2.0.0) 1 | beez3 (3.1.0) 1 | vmbeez3 (3.4.2) 1 | flexo (09.09.2022 3.) 1 |
Templates :: Admin :: hathor (3.0.0) 1 | isis3 (3.4.1) 1 | isis (1.0) 1 | vmadmin (4.2.4) 1 |
Last edited by toivo on Wed Dec 06, 2023 12:07 pm, edited 1 time in total.
Reason: mod note: moved, not related to 3.x Performance

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17232
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Menu Items stay Unpublished when edited

Post by toivo » Wed Dec 06, 2023 12:10 pm

The recommended version of PHP for Joomla 3 is PHP 8.0.

Joomla 3 and third party extensions compatible with Joomla 3 may have issues with PHP 8.1. For example, it is not possible to install Joomla 3.10.12 when using PHP 8.1.
Toivo Talikka, Global Moderator

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30684
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Menu Items stay Unpublished when edited

Post by Per Yngve Berg » Wed Dec 06, 2023 6:00 pm

There is a Root Menu Item that is not shown in Menu Manager. It's the parent of all items.

It must be changed in the database if it is not published.

bloatyhead
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sat Nov 20, 2021 8:29 pm

Re: Menu Items stay Unpublished when edited

Post by bloatyhead » Tue Dec 12, 2023 2:06 pm

Thank you for the replies. I've changed down to PHP 8.0. I still can't toggle the menu items to Published in the backend list, but if I open each one I can change it to Published in the edit screen, and upon saving it seems to be staying as Published.


Post Reply

Return to “General Questions/New to Joomla! 3.x”