Profile "Preview Changes" button brings up modal with fatal error in some cases
- Status
- Closed
- Subject
- Profile "Preview Changes" button brings up modal with fatal error in some cases
- Version
- 19.x
19.x Regression
20.x
21.x
22.x - Category
- Regression
- Feature
- Profile Manager
- Resolution status
- Fixed or Solved
- Submitted by
- luci
- Volunteered to solve
- Jonny Bradley
- Lastmod by
- luci
- Rating
- Description
Some profiles bring up this fatal error when you try to preview the changes to be made:
Copy to clipboardFatal error: Uncaught TypeError: Argument 1 passed to Tiki_Profile_Installer::install() must be an instance of Tiki_Profile, boolean given, called in /var/www/clients/client1/web16/subdirs/tiki19x/admin/include_profiles.php on line 85 and defined in /var/www/clients/client1/web16/subdirs/tiki19x/lib/core/Tiki/Profile/Installer.php:409 Stack trace: #0 /var/www/clients/client1/web16/subdirs/tiki19x/admin/include_profiles.php(85): Tiki_Profile_Installer->install(false, 'all', true) #1 /var/www/clients/client1/web16/subdirs/tiki19x/tiki-admin.php(545): include_once('/var/www/client...') #2 {main} thrown in /var/www/clients/client1/web16/subdirs/tiki19x/lib/core/Tiki/Profile/Installer.php on line 409
Update
In 22.x it brings an Error alert dialog:Error loading profile This message will move to the top of the page after a few seconds.- Solution
It should be bullet proof or show something like "This profile has some code issues to be currently previewed" if it is a matter of wrong code. But hard to say, as the profile installs flawlessly then. Just the profile preview fails.
Hopefully 6f9ef24a ?
- Importance
- 10 high
- Priority
- 50
- 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
- 6971
- Created
- Thursday 06 December, 2018 22:00:22 UTC
by luci - LastModif
- Wednesday 28 October, 2020 16:15:00 UTC