Title: The active PHP session
Last modified: June 24, 2023

---

# The active PHP session

 *  [helenonly](https://wordpress.org/support/users/helenonly/)
 * (@helenonly)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/the-active-php-session/)
 * Hello! Who could_ _explain me very simple, very simple how can I solve this? 
    1. “An active PHP session was detected” (Website health status).
    2. At the same time I lost the big central banner (the slider). The reason: WPCustom
       Category Image plugin (related to the Theme) has been closed as of December 
       10, 2018 and is not available for download.
    3. It’s important to determine whether the two cases are related? And what can 
       I do myself? It Is the little project,  it’s difficult to find developers during
       the week. I am sorry.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fthe-active-php-session%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [mikesmith557](https://wordpress.org/support/users/mikesmith557/)
 * (@mikesmith557)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/the-active-php-session/#post-16845699)
 * Hello!
 * I understand that you’re facing two issues with your website: “An active PHP 
   session was detected” in the website health status, and the loss of the central
   banner (slider) due to the unavailability of the WPCustom Category Image plugin.
   You’d like a simple explanation of how to solve these problems on your own since
   it’s a small project and finding developers might be difficult during the week.
 * First, let’s address the “An active PHP session was detected” issue. This message
   usually indicates that there is an open session in your PHP code that hasn’t 
   been properly closed. Sessions are used to store user-specific data temporarily.
   To resolve this, you can try the following steps:
 * Locate the PHP file where the session is being started. It might be a file named
   something like “session_start.php” or similar.
   Open the file and find the line
   of code that starts the session. It should look like “session_start();”.After
   that line of code, add another line: “session_write_close();”. This will properly
   close the session.Save the file and upload it back to your server, overwriting
   the previous version.Check the website health status again to see if the error
   message has disappeared.Regarding the issue with the missing central banner (
   slider) due to the unavailability of the WPCustom Category Image plugin, it’s
   important to understand if these two problems are related. If the banner disappeared
   after the plugin was closed, there is a possibility they are connected. To confirm
   this, you can try the following steps:
 * Go to your WordPress dashboard and navigate to the “Plugins” section.
   Locate 
   the WPCustom Category Image plugin in the list of installed plugins.Deactivate
   the plugin by clicking on the “Deactivate” link below its name.Visit your website
   to check if the central banner (slider) reappears. If it does, then the plugin
   was indeed causing the issue.If the plugin is causing the problem, you have a
   few options to address it:
 * Look for an alternative plugin that provides similar functionality to the WPCustom
   Category Image plugin. Search for alternatives in the WordPress plugin repository
   or consider using a different approach to achieve the desired functionality.
   
   Contact the developer of the WPCustom Category Image plugin and inquire if they
   have a new version or an alternative solution available.If you have some programming
   skills or are willing to learn, you can try modifying the code of the plugin 
   yourself to make it compatible with the latest version of WordPress or to remove
   the dependency on the closed plugin.Remember to always keep regular backups of
   your website before making any changes, especially when modifying code or plugins.
 * I hope this simplified explanation helps you in resolving these issues. If you
   have further questions or need additional assistance, please let me know!
 * Regards,
 * MIke
 *  Thread Starter [helenonly](https://wordpress.org/support/users/helenonly/)
 * (@helenonly)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/the-active-php-session/#post-16845798)
 * [@mikesmith557](https://wordpress.org/support/users/mikesmith557/) Thank you 
   so much! You are right, thank you, I will try to do so. And one more question,
   please!
   Inside I can see the banner.
 * ![](https://i0.wp.com/i.postimg.cc/DzqsD6wY/01.png?ssl=1)
 * But on the website the banner doesn`t exist for readers.
 * ![](https://i0.wp.com/i.postimg.cc/5ytCXMqZ/01-11.png?ssl=1)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘The active PHP session’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [helenonly](https://wordpress.org/support/users/helenonly/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/the-active-php-session/#post-16845798)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
