WebsiteBaker Support (2.13.x) > General Help & Support
Old problem back again: Can't delete pages 2.13.8
CodeALot:
Pressing the bin does nothing. Console shows:
--- Code: ---index.php:946 Uncaught SyntaxError: missing ) after argument list (at index.php:946:309)
--- End code ---
PHP-Version: 8.3.24
WebsiteBaker-Version: 2.13.8 -r20
sternchen8875:
cannot confirm this on the first look
but maybe with some more informations
its possible for you, to take a look to this Code-line 946 in the inspector-tab, the line number depends on the content, on the number of your pages in the list
if you dont have line-numbers, make a screenshot
CodeALot:
Found it. It's a problem in the Dutch language file.
In /admin/pages/languages/NL.php it says on lines 58 and 59:
--- Code: ---$MESSAGE['PAGES_DELETE_CONFIRM'] = 'Weet u zeker dat u de geselecteerde pagina en de subpagina\'s definitief wilt verwijderen?';
$MESSAGE['PAGES_MARKED_CONFIRM'] = 'Weet u zeker dat u de geselecteerde pagina en de subpagina\'s wilt markeren voor verwijdering? ';
--- End code ---
The problem is subpagina\'s which is not correctly escaped in the website, causing the line in index.php to break.
I changed it to "subpaginas" (not correct in Dutch but it works), reloaded language files and cleared the translation cache (important!) and now it works.
dbs:
subpagina\'s can't be the reason. if yes there seems to be a problem in another place.
sternchen8875:
--- Quote from: CodeALot on August 25, 2025, 12:50:39 PM ---Found it. It's a problem in the Dutch language file.
In /admin/pages/languages/NL.php it says on lines 58 and 59:
--- End quote ---
Thanks, i'll check this
i remember, that there was the same problem in french, but solved with a fix, before we go public. But now, i know, what it is
Navigation
[0] Message Index
[#] Next page
Go to full version