Installando il plugin wp-web-scrapper, una volta attivato mi dà il seguente errore:
Undefined index: urldecode in /web/htdocs/www.laugher.it/home/wp-content/plugins/wp-web-scrapper/wpws-includes/functions.php
Function.php qui è ovviamente, come dice l'indirizzo, un file del plugin e non quello del sito.
Vorrei per favore sapere se sapete di che tipologia di errore si tratti.
Per completezza metto il codice che restituisce l'errore:
codice:
function wpws_shortcode($atts) {
$wpws_options = get_option('wpws_options');
$default_wpwsopt = array(
'url' => '',
'urldecode' => '1', // l'errore dovrebbe essere esattamente qui.
'xpathdecode' => '',
'request_mt' => microtime(true)
);
$atts['url'] = str_replace(array('&','&','&'), '&', $atts['url']);
if($atts['urldecode'] == '1') {
$atts['url'] = urldecode($atts['url']);
$atts['postargs'] = urldecode($atts['postargs']);
}
if($atts['xpathdecode'] == '1')
$atts['xpath'] = urldecode($atts['xpath']);
$wpwsopt = wp_parse_args( $atts, $default_wpwsopt );
return wpws_get_content($atts['url'], $atts['selector'], $atts['xpath'], $wpwsopt);
}