Menu item won't work after upgrade to 3.8.8

Need help upgrading your Joomla! website or converting to Joomla! 3.x?

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
zupidupi
Joomla! Intern
Joomla! Intern
Posts: 73
Joined: Wed Apr 19, 2006 7:03 pm

Menu item won't work after upgrade to 3.8.8

Post by zupidupi » Tue Jun 05, 2018 4:34 pm

Hi folks. I finally managed to upgrade my happy amateur site from 3.6.4 to 3.8.8. Thx to all pros who helped me through this!

Anyway, after the upgrade the menu items to my home made component quit working! When I select them I simply get the error message

0 - syntax error, unexpected '&'

and that's it. I know that they were functioning before the upgrade.

The component is one I've hammered out myself, just for fun, as a pet project. I've built it up in the corresponding directories over the years, so there's no fancy installation file, or somesuch...

I know that this is awfully little to go by, and that the problem probably lies in the code somewhere. But, I just have to ask if there's some fundamental difference in the menu items/definitions/whatever in 3.8.8 compared to 3.6.4, that I should zoom in on.

Cheers,

Mike

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20652
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: Menu item won't work after upgrade to 3.8.8

Post by leolam » Tue Jun 05, 2018 4:45 pm

please post output as described viewtopic.php?f=714&t=793531

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

zupidupi
Joomla! Intern
Joomla! Intern
Posts: 73
Joined: Wed Apr 19, 2006 7:03 pm

Re: Menu item won't work after upgrade to 3.8.8

Post by zupidupi » Tue Jun 05, 2018 4:51 pm

Absolutely!
Forum Post Assistant (v1.4.0) : 5th June 2018 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.8.8-Stable (Amani) 22-May-2018
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Writable (644) | Owner: --protected-- . (uid: 1/gid: 1) | Group: --protected-- (gid: 1) | Valid For: 3.8
Configuration Options :: Offline: 0 | SEF: 1 | SEF Suffix: 0 | SEF ReWrite: 0 | .htaccess/web.config: No | GZip: 0 | Cache: 0 | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: 0 | FTP Layer: 0 | Proxy: 0 | LiveSite: | Session lifetime: 45 | Session handler: database | Shared sessions: N/A | SSL: 0 | Error Reporting: default | Site Debug: 0 | Language Debug: 0 | Default Access: 2 | Unicode Slugs: 0 | dbConnection Type: mysqli | PHP Supports J! 3.8.8: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 4.15.0-22-generic | Technology: x86_64 | Web Server: Apache/2.4.29 (Ubuntu) | Encoding: gzip, deflate, br | Doc Root: --protected-- | System TMP Writable: Yes | Free Disk Space : 181.42 GiB |

PHP Configuration :: Version: 7.2.5-0ubuntu0.18.04.1 | PHP API: fpm-fcgi | Session Path Writable: Yes | Display Errors: | Error Reporting: 22527 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 250M | Max. POST Size: 8M | Max. Input Time: 90 | Max. Execution Time: 60 | Memory Limit: 256M

Database Configuration :: Version: 5.7.22-0ubuntu18.04.1 (Client:mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $) | Host: --protected-- (--protected--) | Localhost: Yes | Collation: latin1_swedish_ci (Character Set: latin1) | Database Size: 22.22 MiB | #of Tables: 864
Detailed Environment :: wrote:PHP Extensions :: Core (7.2.5-0ubuntu0.18.04.1) | date (7.2.5-0ubuntu0.18.04.1) | libxml (7.2.5-0ubuntu0.18.04.1) | openssl (7.2.5-0ubuntu0.18.04.1) | pcre (7.2.5-0ubuntu0.18.04.1) | zlib (7.2.5-0ubuntu0.18.04.1) | filter (7.2.5-0ubuntu0.18.04.1) | hash (1.0) | Reflection (7.2.5-0ubuntu0.18.04.1) | SPL (7.2.5-0ubuntu0.18.04.1) | sodium (7.2.5-0ubuntu0.18.04.1) | session (7.2.5-0ubuntu0.18.04.1) | standard (7.2.5-0ubuntu0.18.04.1) | cgi-fcgi () | mysqlnd (mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $) | PDO (7.2.5-0ubuntu0.18.04.1) | xml (7.2.5-0ubuntu0.18.04.1) | bz2 (7.2.5-0ubuntu0.18.04.1) | calendar (7.2.5-0ubuntu0.18.04.1) | ctype (7.2.5-0ubuntu0.18.04.1) | curl (7.2.5-0ubuntu0.18.04.1) | dom (20031129) | mbstring (7.2.5-0ubuntu0.18.04.1) | fileinfo (1.0.5) | ftp (7.2.5-0ubuntu0.18.04.1) | gd (7.2.5-0ubuntu0.18.04.1) | gettext (7.2.5-0ubuntu0.18.04.1) | iconv (7.2.5-0ubuntu0.18.04.1) | json (1.6.0) | exif (7.2.5-0ubuntu0.18.04.1) | mysqli (7.2.5-0ubuntu0.18.04.1) | pdo_mysql (7.2.5-0ubuntu0.18.04.1) | Phar (2.0.2) | posix (7.2.5-0ubuntu0.18.04.1) | readline (7.2.5-0ubuntu0.18.04.1) | shmop (7.2.5-0ubuntu0.18.04.1) | SimpleXML (7.2.5-0ubuntu0.18.04.1) | sockets (7.2.5-0ubuntu0.18.04.1) | sysvmsg (7.2.5-0ubuntu0.18.04.1) | sysvsem (7.2.5-0ubuntu0.18.04.1) | sysvshm (7.2.5-0ubuntu0.18.04.1) | tokenizer (7.2.5-0ubuntu0.18.04.1) | wddx (7.2.5-0ubuntu0.18.04.1) | xmlreader (7.2.5-0ubuntu0.18.04.1) | xmlwriter (7.2.5-0ubuntu0.18.04.1) | xsl (7.2.5-0ubuntu0.18.04.1) | zip (1.15.2) | Zend OPcache (7.2.5-0ubuntu0.18.04.1) | Zend Engine (3.2.0) |
Potential Missing Extensions :: mysql | mcrypt | suhosin |
Disabled Functions :: pcntl_alarm | pcntl_fork | pcntl_waitpid | pcntl_wait | pcntl_wifexited | pcntl_wifstopped | pcntl_wifsignaled | pcntl_wifcontinued | pcntl_wexitstatus | pcntl_wtermsig | pcntl_wstopsig | pcntl_signal | pcntl_signal_get_handler | pcntl_signal_dispatch | pcntl_get_last_error | pcntl_strerror | pcntl_sigprocmask | pcntl_sigwaitinfo | pcntl_sigtimedwait | pcntl_exec | pcntl_getpriority | pcntl_setpriority | pcntl_async_signals | |

Switch User Environment (Experimental) :: PHP CGI: No | Server SU: No | PHP SU: No | Custom SU (LiteSpeed/Cloud/Grid): 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/ (---) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 809982 | Threads: 1 | Questions: 262273 | Slow queries: 0 | Opens: 29936 | Flush tables: 1 | Open tables: 2000 | Queries per second avg: 0.323 |
Extensions Discovered :: wrote:Components :: SITE :: kunena_tmpl_crypsis (4.0.10) 1 | WF_BROWSER_TITLE (2.5.31) 1 | WF_FONTSIZESELECT_TITLE (2.5.31) 1 | WF_NONBREAKING_TITLE (2.5.31) 1 | WF_TEXTCASE_TITLE (2.5.31) 1 | WF_SPELLCHECKER_TITLE (2.5.31) 1 | WF_ANCHOR_TITLE (2.5.31) 1 | WF_DIRECTIONALITY_TITLE (2.5.31) 1 | WF_ARTICLE_TITLE (2.5.31) 1 | WF_FORMATSELECT_TITLE (2.5.31) 1 | WF_PRINT_TITLE (2.5.31) 1 | WF_CLIPBOARD_TITLE (2.5.31) 1 | WF_CHARMAP_TITLE (2.5.31) 1 | WF_CLEANUP_TITLE (2.5.31) 1 | WF_KITCHENSINK_TITLE (2.5.31) 1 | WF_IMGMANAGER_TITLE (2.5.31) 1 | WF_STYLESELECT_TITLE (2.5.31) 1 | WF_LAYER_TITLE (2.5.31) 1 | WF_TABLE_TITLE (2.5.31) 1 | WF_FONTCOLOR_TITLE (2.5.31) 1 | WF_XHTMLXTRAS_TITLE (2.5.31) 1 | WF_SEARCHREPLACE_TITLE (2.5.31) 1 | WF_STYLE_TITLE (2.5.31) 1 | WF_SOURCE_TITLE (2.5.31) 1 | WF_HR_TITLE (2.5.31) 1 | WF_FULLSCREEN_TITLE (2.5.31) 1 | WF_AUTOSAVE_TITLE (2.5.31) 1 | WF_LINK_TITLE (2.5.31) 1 | WF_INLINEPOPUPS_TITLE (2.5.31) 1 | WF_VISUALCHARS_TITLE (2.5.31) 1 | WF_CONTEXTMENU_TITLE (2.5.31) 1 | WF_LISTS_TITLE (2.5.31) 1 | WF_PREVIEW_TITLE (2.5.31) 1 | WF_VISUALBLOCKS_TITLE (2.5.31) 1 | WF_MEDIA_TITLE (2.5.31) 1 | WF_FONTSELECT_TITLE (2.5.31) 1 | WF_LINKS_JOOMLALINKS_TITLE (2.5.31) 1 | K2 Links for JCE Link (2.2) 1 | WF_MEDIAPLAYER_JCEPLAYER_TITLE (2.5.31) 1 | WF_FILESYSTEM_JOOMLA_TITLE (2.5.31) 1 | WF_LINK_SEARCH_TITLE (2.5.31) 1 | WF_AGGREGATOR_VIMEO_TITLE (2.5.31) 1 | WF_AGGREGATOR_VINE_TITLE (2.5.31) 1 | WF_AGGREGATOR_DAILYMOTION_TITL (2.5.31) 1 | WF_AGGREGATOR_[youtube]_TITLE (2.5.31) 1 | WF_POPUPS_WINDOW_TITLE (2.5.31) 1 | WF_POPUPS_JCEMEDIABOX_TITLE (2.5.31) 1 | com_wrapper (3.0.0) 1 | com_mailto (3.0.0) 1 |
Components :: ADMIN :: com_postinstall (3.2.0) 1 | com_admin (3.0.0) 1 | com_kunena (4.0.10) 1 | mod_kunenamenu (4.0.10) 1 | plg_system_kunena (-) 1 | plg_kunena_finder (4.0.10) 1 | plg_kunena_comprofiler (4.0.10) 0 | plg_finder_kunena (4.0.10) 1 | plg_kunena_uddeim (4.0.10) 0 | plg_kunena_joomla (4.0.10) 1 | plg_kunena_community (4.0.10) 0 | plg_kunena_gravatar (4.0.10) 0 | plg_kunena_alphauserpoints (4.0.10) 0 | plg_kunena_kunena (4.0.10) 1 | com_search (3.0.0) 1 | com_installer (3.0.0) 1 | COM_JEVENTS (3.4.46) 1 | com_cache (3.0.0) 1 | com_users (3.0.0) 1 | COM_ARRAUSEREXPORTIMPORT (2.5.1) 1 | uddeIM (3.3) 1 | com_finder (3.0.0) 1 | com_tags (3.1.0) 1 | com_weblinks (3.5.0) 1 | Quick Logout (1.9.2) 1 | com_config (3.0.0) 1 | com_messages (3.0.0) 1 | JCE (2.5.31) 1 | Unknown (-) 1 | com_content (3.0.0) 1 | com_ajax (3.2.0) 1 | com_contenthistory (3.2.0) 1 | com_redirect (3.0.0) 1 | Akeeba (6.1.0) 1 | com_banners (3.0.0) 1 | com_templates (3.0.0) 1 | ubetter (1.0) 1 | com_languages (3.0.0) 1 | com_modules (3.0.0) 1 | com_plugins (3.0.0) 1 | com_login (3.0.0) 1 | com_checkin (3.0.0) 1 | com_fields (3.7.0) 1 | com_media (3.0.0) 1 | com_associations (3.7.0) 1 | com_newsfeeds (3.0.0) 1 | EasyCreator (0.0.21) 1 | ubetterscore (-) 1 | ubetter (-) 1 | com_menus (3.0.0) 1 | Admintools (5.1.2) 1 | Unknown (-) 1 | Unknown (-) 1 | COM_BREEZINGFORMS ((build 928)) 1 | sysbreezingforms (1.0.0) 1 | com_cpanel (3.0.0) 1 | com_joomlaupdate (3.6.2) 1 | com_categories (3.0.0) 1 |

Modules :: SITE :: mod_related_items (3.0.0) 1 | Tiny Bubbles (1.1.0) 1 | mod_feed (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_search (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | uddeIM Notifier (3.3) 1 | mod_articles_archive (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_articles_category (3.0.0) 1 | Simple RSS Feed Reader (by Joo (3.0) 1 | modubettertop5 (1.0) 1 | mod_tags_similar (3.1.0) 1 | mod_articles_categories (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_kunenalatest (3.1.2.1) 1 | mod_weblinks (3.5.0) 1 | MOD_JEV_FILTER_MODULE_TITLE (3.4.46) 1 | Go Mylo Countdown Free (3.5.0) 1 | mod_articles_news (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_custom (3.0.0) 1 | MOD_JEV_LEGEND_TITLE (3.4.46) 1 | mod_stats (3.0.0) 1 | ubettertop5 (1.0) 1 | mod_footer (3.0.0) 1 | JJ Shoutbox (8.1.14) 1 | mod_syndicate (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | MOD_JEV_SWITCH_VIEW_TITLE (3.4.46) 1 | mod_loginregister (0.2) 1 | MOD_JEV_LATEST_EVENTS_TITLE (3.4.46) 1 | mod_languages (3.5.0) 1 | MOD_JEV_CALENDAR_TITLE (3.4.46) 1 | mod_finder (3.0.0) 1 | DJ-Menu (2.0.1) 1 | MOD_JEV_CUSTOM_MODULE_TITLE (3.4.46) 1 | mod_tags_popular (3.1.0) 1 | mod_login (3.0.0) 1 |
Modules :: ADMIN :: mod_popular (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_title (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_sampledata (3.8.0) 0 | mod_custom (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_version (3.0.0) 1 | mod_status (3.0.0) 1 | mod_login (3.0.0) 1 |

Templates Discovered :: wrote:Templates :: SITE :: Business (3.1) 1 | purity_III (1.1.5) 1 | purity_III (1.0.1) 1 | atomic (2.5.0) 1 | beez_20 (2.5.0) 1 | beez3 (3.1.0) 1 | beez5 (2.5.0) 1 | AllRusty-FJT (1.7.0) 1 | protostar (1.0) 1 | purity_III (1.2.0) 1 |
Templates :: ADMIN :: isis (1.0) 1 | bluestork (2.5.0) 1 | hathor (3.0.0) 1 |

zupidupi
Joomla! Intern
Joomla! Intern
Posts: 73
Joined: Wed Apr 19, 2006 7:03 pm

Re: Menu item won't work after upgrade to 3.8.8

Post by zupidupi » Tue Jun 05, 2018 6:30 pm

After some searching I've narrowed down the problem to the call

$controller = JControllerLegacy::getInstance($view);

This one ends with the error message I described. As I've said before, the component worked with the former Joomla-version, but now there's some oddities around. I might add that the error occurs regardless of the (valid) value of $view. Any thoughts on that?

zupidupi
Joomla! Intern
Joomla! Intern
Posts: 73
Joined: Wed Apr 19, 2006 7:03 pm

Re: Menu item won't work after upgrade to 3.8.8

Post by zupidupi » Tue Jun 05, 2018 6:40 pm

And, oddly enough, using php 5.6 I get the message

This page isn’t working
www.XXX.fi is currently unable to handle this request.
HTTP ERROR 500

From the same call...


Locked

Return to “Migrating and Upgrading to Joomla! 3.x”