Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release_3_9] [Bugfix] Project abstract has to be a string for nl2br and strip_tags #5097

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

3liz-bot
Copy link
Contributor

@3liz-bot 3liz-bot commented Dec 6, 2024

Backport #5094
Authored by: @rldhont

Abstract has to be a string

```
[8192] strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated
  /srv/lzm/temp/lizmap/www/compiled/templates/modules/view/view_html_t_15.php 41
  /index.php/view/
   array (   \'module\' => \'view\',   \'action\' => \'default:index\', )
   ref:Unknown referer
  0 strip_tags() /srv/lzm/temp/lizmap/www/compiled/templates/modules/view/view_html_t_15.php : 41
  1 template_97ecf81651077e876942eb1c8b4df3b8() /srv/lzm/lizmap/vendor/jelix/castor/lib/Castor/CastorCore.php : 290
  2 Jelix\\Castor\\CastorCore->_fetch() /srv/lzm/lizmap/vendor/jelix/jelix/lib/jelix/tpl/jTpl.class.php : 181
  3 jTpl->fetch() /srv/lzm/lizmap/vendor/jelix/jelix/lib/jelix/utils/jZone.class.php : 287
  4 jZone->_createContent()\t/srv/lzm/lizmap/vendor/jelix/jelix/lib/jelix/utils/jZone.class.php : 217
  5 jZone->getContent()\t/srv/lzm/lizmap/vendor/jelix/jelix/lib/jelix/utils/jZone.class.php : 373
  6 jZone::_callZone()\t/srv/lzm/lizmap/vendor/jelix/jelix/lib/jelix/utils/jZone.class.php : 114
  7 jZone::get() /srv/lzm/lizmap/vendor/jelix/jelix/lib/jelix/tpl/jTpl.class.php : 52
  8 jTpl->assignZone() /srv/lzm/lizmap/modules/view/controllers/default.classic.php : 157
  9 defaultCtrl->index()\t/srv/lzm/lizmap/vendor/jelix/jelix/lib/jelix/core/jCoordinator.class.php : 266
  10 jCoordinator->process() /srv/lzm/lizmap/www/index.php : 23

[8192]\tnl2br(): Passing null to parameter #1 ($string) of type string is deprecated
  /srv/lzm/lizmap/vendor/jelix/castor/lib/plugins/html/modifier.nl2br.php 26
  /index.php/view/\n array (   \'module\' => \'view\',   \'action\' => \'default:index\', )
   ref:Unknown referer
  0 nl2br() /srv/lzm/lizmap/vendor/jelix/castor/lib/plugins/html/modifier.nl2br.php : 26
  1 jtpl_modifier_html_nl2br() /srv/lzm/temp/lizmap/www/compiled/templates/modules/view/view_html_t_15.php : 86
  2 template_97ecf81651077e876942eb1c8b4df3b8() /srv/lzm/lizmap/vendor/jelix/castor/lib/Castor/CastorCore.php : 290
  3 Jelix\\Castor\\CastorCore->_fetch() /srv/lzm/lizmap/vendor/jelix/jelix/lib/jelix/tpl/jTpl.class.php : 181
  4 jTpl->fetch() /srv/lzm/lizmap/vendor/jelix/jelix/lib/jelix/utils/jZone.class.php : 287
  5 jZone->_createContent() /srv/lzm/lizmap/vendor/jelix/jelix/lib/jelix/utils/jZone.class.php : 217
  6 jZone->getContent() /srv/lzm/lizmap/vendor/jelix/jelix/lib/jelix/utils/jZone.class.php : 373
  7 jZone::_callZone() /srv/lzm/lizmap/vendor/jelix/jelix/lib/jelix/utils/jZone.class.php : 114
  8 jZone::get() /srv/lzm/lizmap/vendor/jelix/jelix/lib/jelix/tpl/jTpl.class.php : 52
  9 jTpl->assignZone() /srv/lzm/lizmap/modules/view/controllers/default.classic.php : 157
  10 defaultCtrl->index()\t/srv/lzm/lizmap/vendor/jelix/jelix/lib/jelix/core/jCoordinator.class.php : 266
  11 jCoordinator->process()\t/srv/lzm/lizmap/www/index.php : 23
```
@github-actions github-actions bot added this to the 3.9.0 milestone Dec 6, 2024
@github-actions github-actions bot added the run end2end If the PR must run end2end tests or not label Dec 6, 2024
@rldhont rldhont added run end2end If the PR must run end2end tests or not and removed run end2end If the PR must run end2end tests or not labels Dec 6, 2024
@rldhont rldhont merged commit 68e510f into release_3_9 Dec 6, 2024
14 checks passed
@rldhont rldhont deleted the backport-5094-to-release_3_9 branch December 6, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run end2end If the PR must run end2end tests or not
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants