Forum Replies Created
-
AuthorPosts
-
February 8, 2016 at 11:18 am in reply to: Warning: strtotime() expects parameter 1 to be string, object given in #1069664
Rex
ParticipantUPDATE
George was able to diagnose my particular problem here:
: strtotime() expects parameter 1 to be string, object given in on line
Matt, I hope this may help you as well.
February 8, 2016 at 11:15 am in reply to: : strtotime() expects parameter 1 to be string, object given in on line #1069660Rex
ParticipantYES! This fixed the problem. Thank you so much for your quick response.
Rex
February 8, 2016 at 10:24 am in reply to: : strtotime() expects parameter 1 to be string, object given in on line #1069634Rex
ParticipantIt seems that in an effort to remove comments from my code, I accidentally removed a line. Here is the corrected code:
<?php global $post; $events = tribe_get_events( array( 'posts_per_page' => 10, 'start_date' => new DateTime(), 'tribe_events_cat' => 'services' ) ); foreach ( $events as $post ) { setup_postdata( $post ); echo '<div class="event_item">'; echo '<div class="event_date">' . tribe_get_start_date() . '</div>'; echo '<h4><a href='.get_the_permalink() . '>' . get_the_title() . '</a></h4>'; echo '</div>'; } ?>February 8, 2016 at 10:15 am in reply to: Warning: strtotime() expects parameter 1 to be string, object given in #1069627Rex
ParticipantAs requested, I have started a new thread here regarding this problem:
: strtotime() expects parameter 1 to be string, object given in on line
Thanks
January 12, 2016 at 1:05 pm in reply to: Warning: strtotime() expects parameter 1 to be string, object given in #1054824Rex
ParticipantI am also experiencing the same problem.
This error does not display on my local development site, but does appear on two instances of the site posted on two different servers.
The error may be seen here:
http://rexchannel.com/wp_devand here:
http://053.f42.myftpupload.comAny help would be greatly appreciated.
Thanks!
-
AuthorPosts
