Notice: Function WP_Date_Query was called incorrectly. Invalid value 186 for week. Expected value should be between 1 and 53. Please see Debugging in WordPress for more information. (This message was added in version 4.1.0.) in /home/localcabledeals/rasta.pk/wp-includes/functions.php on line 6260

Fatal error: Uncaught Error: Call to a member function active() on bool in /home/localcabledeals/rasta.pk/wp-content/themes/smart-mag/partials/header/off-canvas-menu.php:33 Stack trace: #0 /home/localcabledeals/rasta.pk/wp-content/themes/smart-mag/lib/core.php(446): include() #1 /home/localcabledeals/rasta.pk/wp-content/plugins/smartmag-core/blocks/header/header.php(218): Bunyad_Core->partial('partials/header...', Array) #2 /home/localcabledeals/rasta.pk/wp-content/themes/smart-mag/header.php(55): Bunyad\Blocks\Header->render() #3 /home/localcabledeals/rasta.pk/wp-includes/template.php(880): require_once('/home/localcabl...') #4 /home/localcabledeals/rasta.pk/wp-includes/template.php(815): load_template('/home/localcabl...', true, Array) #5 /home/localcabledeals/rasta.pk/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #6 /home/localcabledeals/rasta.pk/wp-content/themes/smart-mag/404.php(5): get_header() #7 /home/localcabledeals/rasta.pk/wp-includes/template-loader.php(132): include('/home/localcabl...') #8 /home/localcabledeals/rasta.pk/wp-blog-header.php(19): require_once('/home/localcabl...') #9 /home/localcabledeals/rasta.pk/index.php(17): require('/home/localcabl...') #10 {main} thrown in /home/localcabledeals/rasta.pk/wp-content/themes/smart-mag/partials/header/off-canvas-menu.php on line 33