Infinite loop b/c of bad db entry
-
I am using Newsmag theme.
I somehow got a bad value in my database that is causing an infinite loop.
Here is a screenshot of my database:
https://www.jeemoney.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-09-at-10.59.55-AM.pngMy code is and the post->ID is 187.
if ( function_exists( ‘uses_nelioefi’ ) && uses_nelioefi( $this->post->ID ) ) {
error_log(print_r($this->post->ID, TRUE));
error_log(print_r(uses_nelioefi($this->post->ID, TRUE)));
$td_thumb_parameters = td_api_thumb::get_by_id($thumbType);
$td_temp_image_url[1] = $td_thumb_parameters[‘width’];
$td_temp_image_url[2] = $td_thumb_parameters[‘height’];
error_log(print_r($td_thumb_parameters, TRUE));
error_log(print_r(‘starting!!!!!!!’, TRUE));
$buffy = get_the_post_thumbnail( $this->post->ID, array(intval($td_temp_image_url[1]), intval($td_temp_image_url[2])) );
error_log(print_r(‘done!!!!!!!’, TRUE));
}https://www.ads-software.com/plugins/external-featured-image/
- The topic ‘Infinite loop b/c of bad db entry’ is closed to new replies.