PHP error by CMS Code

MarcoA
13 Posts
MarcoA posted this 16 May 2017

I can't place a CMS Code in the theme.

<div id="flags_language_selector"><?php language_selector_flags(); ?></div >

I get a php error as soon as I enter this code in the CMS CODE.
It worked out a few months ago.

I can't place a CMS Code in the theme. <div id="flags_language_selector"><?php language_selector_flags(); ?></div > I get a php error as soon as I enter this code in the CMS CODE. It worked out a few months ago.

Last edited 16 May 2017 by MarcoA

Vote to pay developers attention to this features or issue.
3 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 16 May 2017

Hi,

Please make sure that listed function language_selector_flags() is defined somewhere. otherwise you will receive "Call to undefined function" error.

Thank you,.
Olivia

Hi, Please make sure that listed function `language_selector_flags()` is defined somewhere. otherwise you will receive "Call to undefined function" error. Thank you,. Olivia
amheng
1 Posts
amheng posted this 12 June 2020

Where do I find this

I'm having similar issues

Where do I find this I'm having similar issues
Support Team
Support Team posted this 16 June 2020

Hello,

This depends on the function you call and also if the code itself is correct.

Sincerely,
Nettie

Hello, This depends on the function you call and also if the code itself is correct. Sincerely, Nettie
You must log in or register to leave comments