Loading...
 
Skip to main content

Architecture / Installation


Groups stopped working after upgrade to 29.0

Hello All — I've been out of commission for a few years with health issues and am working on resurrecting an old site on an outdated version of Tiki and upgraded to 29.0 through Softaculous. Unfortunately I don't know what I upgraded from. I saw that the version being used was out of date and clicked the "Update" button without taking note of current version figuring I couldn't stay on that version either way. The old version version was probably 3 years old. Everything worked fine afterward and I proceeded to bring the site current. Now I am working on access to the updated site and have found using the "Groups" function via tiki-admingroups.php generates errors instead of presenting the management page:

Fatal error rendering template file /home2/cichoszo/public_html/journey/templates/tiki-admingroups.tpl
TypeError: Tiki\Wiki\SlugManager::generateSlugsVariations(): Argument #1 ($slug) must be of type string, null given, called in /home2/cichoszo/public_html/journey/lib/tikilib.php on line 3252 and defined in /home2/cichoszo/public_html/journey/lib/core/Tiki/Wiki/SlugManager.php:87
Stack trace:

  1. 0 /home2/cichoszo/public_html/journey/lib/tikilib.php(3252): Tiki\Wiki\SlugManager->generateSlugsVariations(NULL)
  2. 1 /home2/cichoszo/public_html/journey/lib/wiki/wikilib.php(1656): TikiLib->getPageBySlug(NULL)
  3. 2 /home2/cichoszo/public_html/journey/lib/smarty_tiki/Modifier/Sefurl.php(44): WikiLib->sefurl(NULL, , )
  4. 3 /home2/cichoszo/public_html/journey/vendor_bundled/vendor/smarty/smarty/src/Extension/CallbackWrapper.php(29): SmartyTiki\Modifier\Sefurl->handle(NULL)
  5. 4 /home2/cichoszo/public_html/journey/temp/templates_c/en_admin^a8904e19cfdb3f77e5ddb126e16b446d54632f75_0.file_tiki-admingroups.tpl.php(244): Smarty\Extension\CallbackWrapper->handle(NULL)
  6. 5 /home2/cichoszo/public_html/journey/vendor_bundled/vendor/smarty/smarty/src/Template/GeneratedPhpFile.php(111): content_697051442eb848_97213879(Object(Smarty\Template))
  7. 6 /home2/cichoszo/public_html/journey/vendor_bundled/vendor/smarty/smarty/src/Template/Compiled.php(110): Smarty\Template\GeneratedPhpFile->getRenderedTemplateCode(Object(Smarty\Template), 'content_6970514...')
  8. 7 /home2/cichoszo/public_html/journey/vendor_bundled/vendor/smarty/smarty/src/Template.php(180): Smarty\Template\Compiled->render(Object(Smarty\Template))
  9. 8 /home2/cichoszo/public_html/journey/vendor_bundled/vendor/smarty/smarty/src/Template.php(655): Smarty\Template->render(false, 0)
  10. 9 /home2/cichoszo/public_html/journey/vendor_bundled/vendor/smarty/smarty/src/Template.php(589): Smarty\Template->_execute(0)
  11. 10 /home2/cichoszo/public_html/journey/vendor_bundled/vendor/smarty/smarty/src/Smarty.php(2121): Smarty\Template->fetch()
  12. 11 /home2/cichoszo/public_html/journey/lib/core/Tiki/Smarty/SmartyTiki.php(170): Smarty\Smarty->fetch('/home2/cichoszo...', NULL, NULL, NULL)
  13. 12 /home2/cichoszo/public_html/journey/lib/core/Tiki/Smarty/SmartyTiki.php(418): Tiki\Smarty\SmartyTiki->fetch('/home2/cichoszo...', NULL, NULL, NULL)
  14. 13 /home2/cichoszo/public_html/journey/lib/core/Tiki/Smarty/SmartyTiki.php(355): Tiki\Smarty\SmartyTiki->assign_layout_sections('tiki.tpl', NULL, NULL, NULL)
  15. 14 /home2/cichoszo/public_html/journey/tiki-admingroups.php(465): Tiki\Smarty\SmartyTiki->display('tiki.tpl')
  16. 15 {main}


I have tried working backwards through the referenced files to see where the value being passed through the called function series is being dropped and being passed as null, but get a little lost not knowing the point of origin.

The errors trace is a little difficult to read in this forum post so I have also provided them in another document that may be easier to read and manage.

Any pointers to help me get this resolved would be appreciated.

Journey on ...
Steve

As an update I noticed the data in the "users_user" table was inconsistent with legacy rows in the table having null values in some of the columns and rows created since the update to 29.0 having only zero or empty columns rather than null. So I ran the below two queries to bring the data consistent. This did not fix the problem, but I felt it reporting all the same:


update users_groups set usersTrackerId = 0, groupTrackerId = 0, usersFieldId = 0,
groupFieldId = 0, registrationUsersFieldIds = "", userChoice = "" where usersTrackerId is null;

update users_groups set Anniversary = "", prorateinterval = "" where Anniversary is null;