WebSite X5Help Center

 
Vince M.
Vince M.
User

Dynamic content widget error  en

Author: Vince M.
Visited 924, Followers 1, Shared 0  

i keep getting this when trying to use the dynamic content widget:

Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home1/vincentm/public_html/res/x5engine.php on line 5720


Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home1/vincentm/public_html/res/x5engine.php on line 7463

--- how do i fix this?

This is where it is at:  http://www.vincent-merlina.net/page-5.php

I use this web address to test things before I add them to live websites for clients

Posted on the
2 ANSWERS
Aleksej H.
Aleksej H.
Moderator

Hello.Try changing the PHP version on the hosting.Try 7.2-7.4.

Read more
Posted on the from Aleksej H.
Paul M.
Paul M.
Moderator

Hello Vince,

This is a PHP 'notice' which can be easily switched off using either your hosting control panel or by way of INI configuration files, etc.  -  your webhost will be able to advise and assist you with this.

Ask them to log such notices silently as opposed to displaying the output on the screen.

Kind regards,

Paul

Search the WebSite X5 Help Center

Read more
Posted on the from Paul M.