WBCE CMS Forum

WBCE CMS – Way Better Content Editing.

You are not logged in.

#1 26.10.2023 16:55:24

losttrip
Member

1.6.1 Droplet English Language Warnings

Hi folks!

Just wanted to pass along some Errorlog viewer Warnings that have popped up in WBCE 1.6.1 when I access the Admin-Tools.

2023-10-26T14:38:47+00:00 [Visitor Request] https://www.mysite.com/admin/admintools/tool.php?tool=addon_monitor
2023-10-26T14:38:47+00:00 [Warning] /modules/droplets/languages/EN.php:[16] from /modules/addon_monitor/tool.php:[65] getModulesArray "Undefined variable $TEXT"
2023-10-26T14:38:47+00:00 [Warning] /modules/droplets/languages/EN.php:[16] from /modules/addon_monitor/tool.php:[65] getModulesArray "Trying to access array offset on value of type null"
2023-10-26T14:38:47+00:00 [Warning] /modules/droplets/languages/EN.php:[17] from /modules/addon_monitor/tool.php:[65] getModulesArray "Undefined variable $TEXT"
2023-10-26T14:38:47+00:00 [Warning] /modules/droplets/languages/EN.php:[17] from /modules/addon_monitor/tool.php:[65] getModulesArray "Trying to access array offset on value of type null"
2023-10-26T14:38:47+00:00 [Warning] /modules/droplets/languages/EN.php:[29] from /modules/addon_monitor/tool.php:[65] getModulesArray "Undefined variable $TEXT"
2023-10-26T14:38:47+00:00 [Warning] /modules/droplets/languages/EN.php:[29] from /modules/addon_monitor/tool.php:[65] getModulesArray "Trying to access array offset on value of type null" 

I checked Line 16, 17 and 29 of /modules/droplets/languages/EN.php :

$DR_TEXT['ADD_DROPLET'] = $TEXT['ADD'].' Droplet';
$DR_TEXT['MODIFY_DROPLET'] = $TEXT['MODIFY'].' Droplet';
$DR_TEXT['DROPLET_DELETE'] = $TEXT['DELETE'].' Droplet?';

I've removed the (stray?) $TEXT code and these warnings show:

2023-10-26T15:07:50+00:00 [Visitor Request] https://www.mysite.com/admin/admintools/tool.php?tool=addon_monitor
2023-10-26T15:07:50+00:00 [Warning] /modules/droplets/languages/EN.php:[16] from /modules/addon_monitor/tool.php:[65] getModulesArray "Array to string conversion"
2023-10-26T15:07:50+00:00 [Warning] /modules/droplets/languages/EN.php:[17] from /modules/addon_monitor/tool.php:[65] getModulesArray "Array to string conversion"
2023-10-26T15:07:50+00:00 [Warning] /modules/droplets/languages/EN.php:[29] from /modules/addon_monitor/tool.php:[65] getModulesArray "Array to string conversion" 

Hope this helps.

Last edited by losttrip (26.10.2023 17:10:02)

Online

#2 26.10.2023 17:19:40

florian
Administrator

Re: 1.6.1 Droplet English Language Warnings

Hm, looks like some search&replace error.

Just change the lines to

$DR_TEXT['ADD_DROPLET'] = 'Add Droplet';
$DR_TEXT['MODIFY_DROPLET'] = 'Modify Droplet';
$DR_TEXT['DROPLET_DELETE'] = 'Delete Droplet?';

Nicht ärgern. Nur wundern.

Offline

Liked by:

losttrip

Board footer

up