PHP warning
-
I am getting the following two PHP warnings:
NOTICE: wp-content/plugins/page-scroll-to-id/malihu-pagescroll2id.php:354 - Undefined variable: i NOTICE: wp-content/plugins/page-scroll-to-id/malihu-pagescroll2id.php:355 - Undefined variable: shortcode_class
The corresponding code looks suspicious:
$pl_shortcodes[$i]=function($atts,$content=null) { extract(shortcode_atts(array( "i" => "'.$i.'", "shortcode_class" => "_'.$shortcode_class.'", "url" => "", "offset" => "", "id" => "", "target" => "", "class" => "", ), $atts));
I do not quite understand the usage of the single/double quotes together.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘PHP warning’ is closed to new replies.