Found a workaround
Here it is (tested on codoforum 3.4):
- in sites/default/themes/default/templates/user/profile/edit.tpl:
254 <div class="codo_subscription col-sm-12">
255 <div class="col-sm-4">
256 <div class="codo_subscription_img">
257 <img draggable="false" src="{$smarty.const.DURI}{$smarty.const.CAT_IMGS}{$cat.cat_img}" />
258 </div>
259
260 <a href="{$smarty.const.RURI}topics/{$cat.cat_alias}">
261 {$cat.cat_name}
262 </a>
</div>
replace line 260:
<a href="{$smarty.const.RURI}topics/{$cat.cat_alias}">
by:
<a href="{$smarty.const.RURI}category/{$cat.cat_alias}">
@admin
this is tested and on production on my own installation.
I trade the solution above with a request to have a look on my own problem please 
Please check here: http://codologic.com/forum/index.php?u=/topic/4333/codof-sessions-mysql-server-has-gone-away-while-runing-a-long-plugin-script
Found a workaround;)
Here it is (tested on codoforum 3.4):
- in sites/default/themes/default/templates/user/profile/edit.tpl:
````
254 &lt;div class="codo_subscription col-sm-12"&gt;
255 &lt;div class="col-sm-4"&gt;
256 &lt;div class="codo_subscription_img"&gt;
257 &lt;img draggable="false" src="{$smarty.const.DURI}{$smarty.const.CAT_IMGS}{$cat.cat_img}" /&gt;
258 &lt;/div&gt;
259
260 &lt;a href="{$smarty.const.RURI}topics/{$cat.cat_alias}"&gt;
261 {$cat.cat_name}
262 &lt;/a&gt;
&lt;/div&gt;
````
replace line 260:
````
&lt;a href="{$smarty.const.RURI}topics/{$cat.cat_alias}"&gt;
````
by:
````
&lt;a href="{$smarty.const.RURI}category/{$cat.cat_alias}"&gt;
````
@admin
this is tested and on production on my own installation.
I trade the solution above with a request to have a look on my own problem please ;)
Please check here: http://codologic.com/forum/index.php?u=/topic/4333/codof-sessions-mysql-server-has-gone-away-while-runing-a-long-plugin-script
edited Aug 10 '15 at 9:25 pm