Notice (8): Undefined offset: 0 [APP/View/Helper/UsersHelper.php, line 38]Code Context$conn = ConnectionManager::get('default');
$stmt = $conn->execute("SELECT cat_id FROM posts_cats WHERE post_id =$post_id LIMIT 1 ");$data = $stmt ->fetchAll('assoc'); $catID = $data[0]['cat_id'];
$number = $stmt->rowCount();
$post_id = (int) 259
$conn = object(Cake\Database\Connection) {
'config' => [
'password' => '*****',
'username' => '*****',
'host' => '*****',
'database' => '*****',
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'timezone' => 'UTC',
'flags' => [[maximum depth reached]],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'url' => null,
'name' => 'default'
],
'driver' => object(Cake\Database\Driver\Mysql) {},
'transactionLevel' => (int) 0,
'transactionStarted' => false,
'useSavePoints' => false,
'logQueries' => false,
'logger' => null
}
$stmt = object(Cake\Database\Statement\MysqlStatement) {
[protected] _statement => object(PDOStatement) {}
[protected] _driver => object(Cake\Database\Driver\Mysql) {}
[protected] _hasExecuted => false
[protected] _bufferResults => true
}
$data = []
App\View\Helper\UsersHelper::getSimilarPosts() - APP/View/Helper/UsersHelper.php, line 38
include - APP/Template/Posts/view.ctp, line 183
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1413
Cake\View\View::_render() - CORE/src/View/View.php, line 1374
Cake\View\View::render() - CORE/src/View/View.php, line 880
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 104
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 168
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Warning (2): count(): Parameter must be an array or an object that implements Countable [APP/Template/Posts/view.ctp, line 184]Code Context $similarposts = $this->Users->getSimilarPosts( $job['id']);
$countother = count($similarposts);
if($countother >0){
$viewFile = '/home/innovanc/public_html/bizgist.in/src/Template/Posts/view.ctp'
$dataForView = [
'site_metadata' => [
'meta_title' => 'Plots for sale',
'meta_keys' => 'Plots for sale',
'meta_description' => 'Plots for sale',
'site_banner' => 'https://bizgist.in/images/default_preview.jpg'
],
'udata' => object(Cake\ORM\Entity) {
'id' => (int) 265,
'name' => 'Charles Wilson',
'username' => 'Infinityrealestatetz',
'email' => '[email protected]',
'password' => 'cab5335f4748fcbfe2c9707ee70074cd',
'mobile' => '+255692275216',
'designation' => null,
'availability' => null,
'dob' => null,
'location' => null,
'exp_year' => null,
'exp_month' => null,
'role' => 'user',
'email_verified' => (int) 0,
'mobile_verified' => (int) 0,
'profile_pic' => null,
'bio' => null,
'website' => null,
'facebook' => null,
'twitter' => null,
'linkedin' => null,
'plan_id' => (int) 1,
'online' => (int) 0,
'created' => object(Cake\I18n\FrozenTime) {},
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Users'
},
'job' => object(App\Model\Entity\Post) {
'id' => (int) 259,
'title' => 'Plots for sale',
'slug' => 'plots-for-sale',
'body' => 'Residential & Commercial plot for Sale
Double plots attached at Vikindu Vianzi near Buyuni to Vikindu road. Each one having 208 SQM, All make a total of 416 SQM. price is TSh 1.8. Million for each that means selling price is Tsh 3.6 Million.
This plots are situated at Vianzi,Pwani region Tanzania. Vianzi is a fast-growing suburb
of Pwani region.
Plot totaling 416 sqm have a Ground water well ,Road, Eletrick pole nearby and other social services.
The plots are located to the southeast Vikindu Kilwa Road 7 km.
For more information please contact
📱Call: +255692275216
WhtsApp: +255692275216
Email:[email protected]
',
'thumbnail' => null,
'preview' => null,
'you_are' => null,
'meta_key' => 'Plots for sale',
'meta_description' => 'Plots for sale',
'author' => 'Infinityrealestatetz',
'author_id' => (int) 265,
'compnay' => (int) 211,
'location' => null,
'contact_name' => 'Charles wilson',
'contact_email' => '[email protected]',
'contact_phone' => '+255692275216',
'website' => '',
'address' => 'Vikindu ',
'city' => 'Pwani',
'pincode' => '6115',
'post_type' => null,
'post_status' => 'published',
'is_top' => (int) 0,
'created' => object(Cake\I18n\FrozenDate) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Posts'
}
]
$site_metadata = [
'meta_title' => 'Plots for sale',
'meta_keys' => 'Plots for sale',
'meta_description' => 'Plots for sale',
'site_banner' => 'https://bizgist.in/images/default_preview.jpg'
]
$udata = object(Cake\ORM\Entity) {
'id' => (int) 265,
'name' => 'Charles Wilson',
'username' => 'Infinityrealestatetz',
'email' => '[email protected]',
'password' => 'cab5335f4748fcbfe2c9707ee70074cd',
'mobile' => '+255692275216',
'designation' => null,
'availability' => null,
'dob' => null,
'location' => null,
'exp_year' => null,
'exp_month' => null,
'role' => 'user',
'email_verified' => (int) 0,
'mobile_verified' => (int) 0,
'profile_pic' => null,
'bio' => null,
'website' => null,
'facebook' => null,
'twitter' => null,
'linkedin' => null,
'plan_id' => (int) 1,
'online' => (int) 0,
'created' => object(Cake\I18n\FrozenTime) {},
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Users'
}
$job = object(App\Model\Entity\Post) {
'id' => (int) 259,
'title' => 'Plots for sale',
'slug' => 'plots-for-sale',
'body' => 'Residential & Commercial plot for Sale
Double plots attached at Vikindu Vianzi near Buyuni to Vikindu road. Each one having 208 SQM, All make a total of 416 SQM. price is TSh 1.8. Million for each that means selling price is Tsh 3.6 Million.
This plots are situated at Vianzi,Pwani region Tanzania. Vianzi is a fast-growing suburb
of Pwani region.
Plot totaling 416 sqm have a Ground water well ,Road, Eletrick pole nearby and other social services.
The plots are located to the southeast Vikindu Kilwa Road 7 km.
For more information please contact
📱Call: +255692275216
WhtsApp: +255692275216
Email:[email protected]
',
'thumbnail' => null,
'preview' => null,
'you_are' => null,
'meta_key' => 'Plots for sale',
'meta_description' => 'Plots for sale',
'author' => 'Infinityrealestatetz',
'author_id' => (int) 265,
'compnay' => (int) 211,
'location' => null,
'contact_name' => 'Charles wilson',
'contact_email' => '[email protected]',
'contact_phone' => '+255692275216',
'website' => '',
'address' => 'Vikindu ',
'city' => 'Pwani',
'pincode' => '6115',
'post_type' => null,
'post_status' => 'published',
'is_top' => (int) 0,
'created' => object(Cake\I18n\FrozenDate) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'[new]' => false,
'[accessible]' => [
'*' => true,
'id' => false,
'slug' => false
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Posts'
}
$actual_link = '/plots-for-sale'
$SITEURL = 'https://bizgist.in/'
$currentURLs = 'https://bizgist.in/plots-for-sale'
$comdata = [
(int) 0 => [
'id' => '211',
'com_name' => 'Infinity',
'comp_slug' => null,
'about' => null,
'contact_person' => 'Charles Wilson',
'designation' => null,
'email' => '[email protected]',
'phone' => null,
'address' => null,
'city' => null,
'state' => null,
'pincode' => null,
'user_id' => '265',
'industry_type' => null,
'clogo' => null,
'website' => null,
'facebook_url' => null,
'twitter_url' => null,
'linkedin_url' => null
]
]
$add_to_visitedposts = (int) 1
$postViews = (int) 20
$preview = 'images/default_preview.jpg'
$similarposts = null
include - APP/Template/Posts/view.ctp, line 184
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1413
Cake\View\View::_render() - CORE/src/View/View.php, line 1374
Cake\View\View::render() - CORE/src/View/View.php, line 880
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 104
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 168
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65