I fixed it by:
1) checking wordpress version in: /home/myusername/public_html/version.php
2) downloading this version package from wordpress website
3) addingwp-includes/session.php
file from downloaded package into /home/myusername/public_html/wp-includes/session.php
(that file was empty or not existing)
Related Posts:
- How can I save a multiple select array with the settings API for a plug-in options page?
- Display message once per session to users with a specific role
- How to log out everywhere else, destroy all sessions “all other devices”?
- Why does $_SESSION only work when I am logged in?
- “Maximum function nesting level of ‘100’ reached” after adding a new filter
- how to create and show sessions in word press?
- Should I store my Facebook access tokens?
- How can one utilize a variable as a callback function name for add_settings_field
- Site Health : An active PHP session was detected
- apache cpu over 70% on localhost
- Fatal error: Call to undefined method WP_Error::get_item_quantity()
- integrating external php library into wordpress- the right way
- How to get bool with `get_option()` when already registered setting with type `boolean`
- Why can’t I use “%s” format value in the WordPress function checked?
- Settings API – sanitize_callback is not called and it leads to an incorrect behavior
- How to expire session after 2 hours and also expire when browser closed?
- Why use the Settings API over a new administration menu?
- Implement toggle switch for theme options in settings API
- Set the checkbox as checked by default at options page
- Whitelisting items from custom options page
- How to store post ID’s in cookie or session to display the same posts later
- wp_ob_end_flush_all and wp_suspend_cache_addition()
- iframe does not store session/cookie when refresh parent
- Settings API callback function inserts html quotes from nowhere
- Uploading files using the Settings API
- fatal error call to undefined function get_header in index.php on line 1
- Getting error when using wp_insert_post()
- Get URL Parameters from referer
- Unique session WordPress
- Saving plugin settings – ERROR: options page not found
- Fatal Errors on pluggable.php
- Get my site session in wordpress?
- Having Issue on Redirecting With Session in WordPress
- Unset session variable on page reload / setup but exclude AJAX
- Syntax error in a shortcode function
- Get categories names as an array to use it in theme settings
- how to save checkbox data for custom setting?
- register_setting & add_settings_error validation issues with multiple fields
- $_SESSION variable not saving on page refresh or new page
- $_SESSION variables work perfectly on my local machine but returns NULL on development webserver
- Reading settings in the home page precisely home.php
- The session works on the local server, but not on the web server
- Fatal errors to undefined function in theme 404.php file [closed]
- Custom $_SESSION expires too early
- Can we stop session reset if page reloads?
- Store and Change Session variable – PHP SESSION VARIABLE
- PHP Helper Class to create shortcodes
- wordpress admin part is not accesbile after server shifting
- Cloning add_settings_field() with jQuery
- Deleting expired session tokens in WordPress
- PHP: $_SESSION destroyed after page reload for my custom session
- WordPress Settings API unable to save settings
- Error while loading wordpress site “Fatal error: Uncaught Error: Call to undefined function twentytwentyone_the_html_classes() in /home
- Set cookie parameters on wp site – PHP not working?
- Are there any drawbacks on opening a session_start in functions.php and header.php?
- Settings API form – submit with AJAX
- Connecting to upstream failed
- Like and Dislike Buttons on Post with Counter – Only allow one click per post per user session
- Fatal error: wp-settings.php on line 199
- Custom plugin: how do I call a PHP file if settings option is set to true?
- PHP session not staying alive. headers already sent
- Reduce Stock Based on Custom Variation Field Rather than Attribute (Working Script)
- register_setting not save checkbox
- Sessions with WordPress
- How to call a WP Class inside my theme
- image on homepage disappeared due to change of permalink name
- Use WP user status (logged_in) to manage access to independent application
- ajax polling with admin-ajax.php
- PHP Session Variable to WordPress Error
- Allow user to select location and then set cookie for location in WordPress
- Fatal Error cannot log into wordpress and website disappeared
- pages disable after wordpress update
- Importing demo data in Multisite
- WordPress Setting API – There is no field in options.php
- WordPress error on my website
- Changed URl in General Settings now WordPress site doesnt work
- How to ‘remember’ a site member’s last visited page?
- Undefined index notice when using the $args parameter in add_settings_field()
- White screen after login attempt
- WordPress won’t display errors at all
- WP white screen of death after duping a site that works fine on same server
- Where are Sessions are being started? [closed]
- WordPress & PHP sessions
- Catchable fatal error in appcloud free theme by Tokokoo
- Front-end major break after upgrade PHP 8.0 [closed]
- kali php problem [closed]
- How to transfer session after being redirected to other page
- Divi – add title to mobile menu button
- Suddenly sessions and header location not working
- PHP – Having $_SESSION as an array and adding $_SESSION to array
- WordPress critical error after trying to update to 6.2 – Fatal error: Allowed memory size of 268435456 bytes exhausted
- How do I directly access a PHP file located in my themes folder?
- Is it possible to use the featured image of a page as a css background without inlining?
- items_wrap not working
- How do I Add HTML to the_excerpt() & the_content() Output?
- Path for php file for inserting data through html form
- Weird fonts showing which are coming from database
- Customizer textarea with script tag won’t work in live preview
- Styling a specific post after hovering over it
- WordPress file upload