500 Internal Server Error - unsupported operand type in tiki-admin-modules.php
- Status
- Pending
- Subject
- 500 Internal Server Error - unsupported operand type in tiki-admin-modules.php
- Version
- 29.x
- Category
- Error
- Regression
- Resolution status
- New
- Submitted by
- Matt
- Lastmod by
- Landry Bitege
- Rating
- Description
I upgraded my site to 29.0 and I get an Apache2 500 Internal Server Error when accessing tiki-admin-modules.php
From error.log
Wed Jan 28 22:09:54.193144 2026 php:error pid 4623 client 192.168.1.5:40646 PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + int in /var/www/html/nmhv5-tiki29.0/tiki-admin_modules.php:638\nStack trace:\n#0 {main}\n thrown in /var/www/html/nmhv5-tiki29.0/tiki-admin_modules.php on line 638, referer: http://192.168.1.10/nmhv5-tiki29.0/tiki-admin.php?page=modulethe offending line in the code (638) is:
$smarty->assign('theme_navbar_fixed_topbar_offset', $prefs%22theme_navbar_fixed_topbar_offset%22 + 35);
After I remove the integer, the website works again.
I'm unable to determine what in my configuration triggers this error, it's not present in the default config.
- Solution
- Workaround
- Importance
- 10 high
- Easy to solve?
- 10 easy
- Priority
- 99
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 8912
- Created
- Thursday 29 January, 2026 04:32:35 UTC
by Matt - LastModif
- Thursday 29 January, 2026 09:04:46 UTC