A non-numeric value encountered in /wp-includes/functions.php on line 68
There is another question dealing with a slightly more complicated issue than yours, but it contains a lesson. Basically, what I learned is that you should process your equation in two or more steps, to account for gmt_offset being returned as a string: $offset = get_option( ‘gmt_offset’ ); $hours = (int) $offset; return ( $gmt … Read more