Jump to content

izacksher

New Members
  • Posts

    2
  • Joined

  • Last visited

izacksher's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Followiing is a warning that I get in my Wordpress site. Has anyone any idea how to debug it? ( ! ) Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in C:\AAAA WEB MASTER\webroot\rihut-mashlim\wp-includes\class-wp-hook.php on line 298 Call Stack # Time Memory Function Location 1 0.2010 132936 {main}( ) ..\index.php:0 2 0.2010 134936 require( 'C:\AAAA WEB MASTER\webroot\rihut-mashlim\wp-blog-header.php' ) ..\index.php:17 3 1.8401 46122240 require_once( 'C:\AAAA WEB MASTER\webroot\rihut-mashlim\wp-includes\template-loader.php' ) ..\wp-blog-header.php:19 4 1.8531 46261480 include( 'C:\AAAA WEB MASTER\webroot\rihut-mashlim\wp-content\themes\buzz\woocommerce.php' ) ..\template-loader.php:74 5 2.7272 46928296 woocommerce_content( ) ..\woocommerce.php:21 6 2.7292 46942352 wc_get_template_part( ) ..\wc-template-functions.php:358 7 2.7292 46942552 load_template( ) ..\wc-core-functions.php:173 8 2.7302 46955928 require( 'C:\AAAA WEB MASTER\webroot\rihut-mashlim\wp-content\plugins\woocommerce\templates\content-single-product.php' ) ..\template.php:686 9 2.7482 46958480 do_action( ) ..\content-single-product.php:48 10 2.7482 46958928 WP_Hook->do_action( ) ..\plugin.php:453 11 2.7482 46958976 WP_Hook->apply_filters( ) ..\class-wp-hook.php:323 12 2.7482 46959560 call_user_func_array:{C:\AAAA WEB MASTER\webroot\rihut-mashlim\wp-includes\class-wp-hook.php:298} ( ) ..\class-wp-hook.php:298 Variables in local scope (#11) $args = array (size=1) 0 => string '' (length=0) $nesting_level = int 0 $num_args = int 1 $priority = int 10 $the_ = array (size=2) 'function' => null 'accepted_args' => int 1 $value = string '' (length=0)
  2. For a Guru: I use the library Simple HTML DOM. It works fine with most sites including ssl but in some ssl sites it fails(for instance https://market.marmelada.co.il). Here the url of phpinfo() : http://62.219.17.172/~shaishze/shop3/wp-content/plugins/demy/info.php With another server, based on xamp, it always works fine. Her is the code: include('simple_html_dom.php'); $html = new simple_html_dom(); //$html->load_file('https://market.marmelada.co.il/products/3853866721'); $html->load_file('http://ynet.co.il'); echo $html; $html->clear(); Thx
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.