-
PHP8 getTemplate Problem with Plugins
hello! litle update With the support we found the problem . is related to the plugins template in template editor , in my case the template that was giving problems was : ( recentTopicsRow - of the plugin recentTopics ) the strange part is, i regenerated my theme from scratch , and i don't even have this plugin installed or active . no doubt it is automatically generated by the database which finds it in some table. what I am wondering is not it appropriate to create a tool inside the support section that deletes the templates or checks the plugins templates that are not installed ? I spent almost a week behind this problem , without the support I would have never figured out that the problem was recentTopicsRow , as I don't even have this plugins anymore since I upgraded the board . Now my question is how do I delete a template ? I just empty the templates to solve it now , but it would be opprtune to delete just the templates , can you tell me the correct way to delete a template from the plugins group ? thanks again to all for the help
-
PHP8 getTemplate Problem with Plugins
i just downloaded and uploaded all files. if you want you can upload it too i updated ftp information too in client area
-
PHP8 getTemplate Problem with Plugins
done! i juste upluaded new files and removed dev .
-
PHP8 getTemplate Problem with Plugins
-
PHP8 getTemplate Problem with Plugins
mhhh in the database its exist but the db its all with prefix ipb4_ mhhh i use this prefix since ipb3
-
PHP8 getTemplate Problem with Plugins
ok I did as you suggest, I made a copy of the main forum, file / db . i downloaded a new version from IPS i have overwrte all the files i did an update and voila the error is still the same. i just updtated the information
-
PHP8 getTemplate Problem with Plugins
I tried it right now in the same host , same php8 configuration , everything works fine , it is really an unexplainable problem, only with my main forum after upgrade this happens, with a fresh installation everything works fine. the server is mine. i am my host. is there a tool to do rebuild sql ? with the tools in support i did clear cache , rebuild custom theme, but nothing nothing seems to work 😞 it's frustrating
-
PHP8 getTemplate Problem with Plugins
ps : i forgot to tell you that if i activate designed mode the problem is solved. but i can't keep designed mode active forever. also because when i activate it some application and plugins deactivate themselves
-
PHP8 getTemplate Problem with Plugins
I said more than once that it has nothing to do with the plugin this what I did is an example what I showed above . but it does it with any plugin. i can't contact all the authors and tell them to review their plugins. i regenerated the theme in support and i recreated it too from 0m i use the default theme. I know you like to waste time giving ideas and blame to others . but I am not here to say that the problem is IPS. I am just saying that I have a particular case that after an update this I encountered. let me be clearer : locally i installed the same IPS version 4.7.5 i installed the same plugins . and they work fine. with php8. so we can exclude authors and plugins. the problem is definitely internal mine that caused itself after the update, maybe a correction table , some misplaced files etc etc. i am here to ask what could i do to fix it? what can i do to debug .... please don't give me answers just to say....
-
PHP8 getTemplate Problem with Plugins
with DEBUG_TEMPLATES i have this error now : Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /tmp/template_1_77e511f3f597b974567a95c3a1860bbf_plugins7B8PPB on line 3518 and in that line :
-
PHP8 getTemplate Problem with Plugins
@onlyME but its happen with all plugins , its not just with a singl plugin. any plugins that call the getTemplate.
-
PHP8 getTemplate Problem with Plugins
this happen with plugins sir . all.
-
PHP8 getTemplate Problem with Plugins
thanks for the reply, as I said the problem happens only with plugins that call the getTemplate. at first i thought that the problem was only the plugin so i contacted the dev and explained him the situation , i gave him access to my site and he answered me like this : that is why I am here to ask you. ps : i have only the default theme , i have no custom themes , i have disabled all plugins and applications , still same problem .
-
PHP8 getTemplate Problem with Plugins
hello everyone after several days of various tests. i decided to post here. since i switched a few days ago to ips 4.7.5 , my forum has big problems. the problems are located in the Plugins part , i.e. the plugins that have to create templates \IPS\Theme::i()->getTemplate(...) always give error : Fatal error: Unparenthesized `a ? b : c ? d : ` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home/sitename/public_html/forum/system/Theme/Theme.php(885) : eval()'d code on line 3358 here the line 885 : if ( @eval( $compiledGroup ) === FALSE ) { throw new \IPS\Theme\TemplateException( 'Invalid Template', 1000, NULL, array( 'group' => $group, 'app' => $app, 'location' => $location ), $this ); } }
-
Number of Topics per Forum
ok 😉
kurosaki ichigo
Members
-
Joined
-
Last visited