Plugin Directory

Changeset 2877819


Ignore:
Timestamp:
03/10/2023 11:35:49 AM (3 years ago)
Author:
eventilla
Message:

Fixed error in single event download.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • eventilla-events/trunk/includes/class-eventilla-wp-api-request-v2.php

    r2877664 r2877819  
    428428            $response_body = wp_remote_retrieve_body( $response );
    429429          }
    430        
     430
    431431
    432432        $this->log_date('GET', $endpoint_url, $response_code, $response_body);
    433         $responseLength = json_decode($response_body);
    434         var_dump(count($responseLength->events));
     433
    435434        }catch(InvalidArgumentException $e){
    436            
     435
    437436            $this->log_date('InvalidArgumentException', $endpoint_url, $e->getMessage(), $response);
    438437        }catch (RuntimeException $e) {
Note: See TracChangeset for help on using the changeset viewer.