We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Error Log | Forum

Steve
Steve Sep 4 '19
I am curious on what cause's this error.


[Sat Aug 31 10:07:19 2019] [ow_core_log] [Notice] Message: Undefined offset: 10 File: /var/www/ourcommunitychat.com/html/ow_smarty/template_c/52370ed4f03ec5a44abac53c18a15f35a0f2223d_0.file.comments_list.html.php Line:149[Sat Aug 31 10:07:19 2019] [ow_core_log] [Notice] Message: Undefined offset: 10 File: /var/www/ourcommunitychat.com/html/ow_smarty/template_c/52370ed4f03ec5a44abac53c18a15f35a0f2223d_0.file.comments_list.html.php Line:151[Sat Aug 31 10:07:19 2019] [ow_core_log] [Notice] Message: Undefined offset: 10 File: /var/www/ourcommunitychat.com/html/ow_smarty/template_c/52370ed4f03ec5a44abac53c18a15f35a0f2223d_0.file.comments_list.html.php Line:16


I am running PHP 7.2 on Ubuntu 18.04


I have also run debug and I am getting this message.



OW Debug - Notice

Message:The each() function is deprecated. This message will be suppressed on further callsFile:/var/www/ourcommunitychat.com/html/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_compilebase.phpLine:78
The Forum post is edited by Steve Sep 4 '19
Marcus
Marcus Sep 14 '19
Well sir it says right there each is deprecated in php 7.2. https://www.php.net/manual/en/function.each.php ;
The Forum post is edited by Marcus Sep 14 '19
AppXprt
AppXprt Sep 15 '19
So this is related to Smarty Libraries that just need to be updated (They've already fixed it).


I wrote a how-to and a plugin (OxUpdater) for it:

https://developers.oxwall.com/forum/topic/63828


The Forum post is edited by AppXprt Sep 15 '19