Answer the question
In order to leave comments, you need to log in
The template does not work on DLE with php7 how to fix it?
I installed the template, it works fine on php 5.6, I try it on php 7, it does not start, it gives an error (DLE 10.6)
Notice: Undefined index: all in /home/administrator/html/engine/modules/main.php on line 374
if ($config['allow_links']) $tpl->result['main'] = replace_links ($tpl->result['main'], $replace_links['all']) ;
Answer the question
In order to leave comments, you need to log in
Add a check that the 'all' key is in the $replace_links array
Or suppress errors like E_NOTICEerror_reporting(E_ALL & ~E_NOTICE);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question