Forum Replies Created

Viewing 1 replies (of 1 total)
  • 27: $append_after_address = array_filter( array_map( 'trim', [ (string)$venue->state_province, (string)$venue->state, (string)$venue->province ] ) );
    28: $address = (string)$venue->address . ( (string)$venue->address && ( $append_after_address || (string)$venue->city ) ? $separator : '' );

    When something wants to read a string but an int is given in that data, why not cast ist to string?
    I did that in the file /wp-content/plugins/the-events-calendar/src/views/v2/list/event/venue.php

    Works like a charm, Warnings are gone, I phear the update ??

Viewing 1 replies (of 1 total)