I use your plug in for years now working fine. Until a few weeks.
I use the following code on my page, which was working fine for years:
[insert_php]
session_start();
$_SESSION["selectedtariff"] = $_POST["selectedtariff"];
[/insert_php]
Now I get the following error message:
Warning: session_start(): Cannot start session when headers already sent in /homepages/XXX/wp-content/plugins/xinsert-php/includes/shortcodes/shortcode-php.php(52) : eval()'d code on line 1
Old [insert_php] is activated in the settings.
If I create a global php-snippet with this code it works, but then my code on the following webpage
[insert_php]
include "tarc/confirm.php";
[/insert_php]
is not working.
Do you have a solution or any ideas how to solve this problem?
Thank you in advance for your help!
I use the following code on my page, which was working fine for years:
[insert_php]
session_start();
$_SESSION["selectedtariff"] = $_POST["selectedtariff"];
[/insert_php]
Now I get the following error message:
Warning: session_start(): Cannot start session when headers already sent in /homepages/XXX/wp-content/plugins/xinsert-php/includes/shortcodes/shortcode-php.php(52) : eval()'d code on line 1
Old [insert_php] is activated in the settings.
If I create a global php-snippet with this code it works, but then my code on the following webpage
[insert_php]
include "tarc/confirm.php";
[/insert_php]
is not working.
Do you have a solution or any ideas how to solve this problem?
Thank you in advance for your help!