Notice: Undefined variable: _SESSION in /var/www/html/wp-content/themes/Edeel/includes/API.php on line 54

Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/html/wp-content/themes/Edeel/includes/API.php:128 Stack trace: #0 /var/www/html/wp-content/themes/Edeel/page-merchants.php(12): Edeel_API->getMerchantList(Array) #1 /var/www/html/wp-includes/template-loader.php(74): include('/var/www/html/w...') #2 /var/www/html/wp-blog-header.php(19): require_once('/var/www/html/w...') #3 /var/www/html/index.php(17): require('/var/www/html/w...') #4 {main} thrown in /var/www/html/wp-content/themes/Edeel/includes/API.php on line 128