وردپرس

Error 500 castos player: session_start(): Ignoring session_start();


Hello:

After a listener pointed me out that an episode cannot be played on iPhone, I checked the link for the episode file. The file appeared correct but I discovered that the castos player was not working. After click on open in a new window a 500 error appeared in the page for that link. After some debugging the exception was this -> session_start(): Ignoring session_start() because a session is already active. The error was coming from this line:

/seriously-simple-stats/php/classes/class-ssp-stats-hit.php (line 93)

I replaced line 93: session_start(); with a conditional to avoid errors

if (session_status() == PHP_SESSION_NONE) {
session_start();
}

As a temporary workaround is fine, but could you please check the stats plugin to locate the error?

Thank you!

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا