Has your hosting setup changed? The first three errors indicate that PHP can no longer make HTTP requests. Check you have cURL enabled.
Deprecated: Call-time pass-by-reference has been deprecated in /home/zoomingj/public_html/wp-content/themes/alltuts/functions.php on line 131
If you weren’t getting this error before, this indicates PHP has been upgraded – read up on how to fix the error. Essentially, remove the &
reference from any function call parameters and make sure it’s instead set for the parameter when defining the function:
// Change this...
function do_something( $var ) {
$var="something";
}
do_something( &$foo );
// To this...
function do_something( &$var ) {
$var="something";
}
do_something( $foo );
Notice: Constant EMPTY_TRASH_DAYS already defined in /home/zoomingj/public_html/wp-content/themes/alltuts/functions.php on line 25
Remove the line from your functions.php
and place it in your wp-config.php
:
define( 'EMPTY_TRASH_DAYS', X );
Notice: register_sidebar was called incorrectly.
Just make sure you set the id
in your args:
register_sidebar(
array(
'id' => 'sidebar-1',
// other args
)
);
register_sidebar(
array(
'id' => 'sidebar-2',
// other args
)
);
The WP Polls error, well, that’s for the plugin author. For now, once you’ve fixed everything in your theme, switch debugging off for your live site in wp-config.php
:
define( 'WP_DEBUG', false );