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

[Bugfix] Project abstract has to be a string for nl2br and strip_tags #5094

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

rldhont
Copy link
Collaborator

@rldhont rldhont commented Dec 6, 2024

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

Ticket : #

Funded by

@github-actions github-actions bot added this to the 3.10.0 milestone Dec 6, 2024
@rldhont rldhont marked this pull request as draft December 6, 2024 18:31
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
```
@rldhont rldhont force-pushed the fix-view-tpl-abstract branch from c6cfe0d to 8e337a9 Compare December 6, 2024 18:55
@rldhont rldhont marked this pull request as ready for review December 6, 2024 19:15
@rldhont rldhont merged commit 802a050 into 3liz:master Dec 6, 2024
13 checks passed
nboisteault pushed a commit to nboisteault/lizmap-web-client that referenced this pull request Dec 12, 2024
[Bugfix] Project abstract has to be a string for nl2br and strip_tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant