Warning: current() expects parameter 1 to be array, boolean given in /var/www/classes/7thpocket/Media.class.php on line 20

Fatal error: Uncaught LogicException: Operation is not definied. in /var/www/vendor/rakuten-ws/rws-php-sdk/lib/RakutenRws/Client.php:249 Stack trace: #0 /var/www/classes/rakuten/RakutenSearch.class.php(115): RakutenRws_Client->execute('Search', NULL) #1 /var/www/classes/util/Elasticache.class.php(36): RakutenSearch->rakutenSearch(NULL, NULL, NULL) #2 /var/www/classes/7thpocket/Media.class.php(32): Elasticache->RakutenSearch(Object(RakutenSearch), NULL, NULL) #3 /var/www/7thpocket.com/m.php(13): Media->__construct('Angel+Beats!', 'DVD', 1, Object(Elasticache), Object(db), Object(RakutenSearch)) #4 {main} thrown in /var/www/vendor/rakuten-ws/rws-php-sdk/lib/RakutenRws/Client.php on line 249