getMenuByURL(str_replace('-',' ',$mnu_section)); $content_rec = $web_class->getNewsByUrl($mnu_page); $news_id = $content_rec[0]->wk_news_id; //$menu_selected = $web_class->getMenuByURL($mnu_page); $sm_title = stripslashes($content_rec[0]->wk_news_title); $sm_description = arrangeString(strip_tags(stripslashes($content_rec[0]->wk_news_details)),120); $sm_keywords = stripslashes($menu_selected[0]->wk_menu_keywords).",".stripslashes($content_rec[0]->wk_news_title); $sm_image = $basePath."uploads/news/".stripslashes($content_rec[0]->wk_news_photo); $sm_url = $basePath; //$sm_url .= $mnu_section? $mnu_section."/":''; $sm_url .= $mnu_page? $mnu_page."/":''; $related_news_rec = $web_class->getAllLatestNews($news_id,3); $prev_next_rec = $web_class->getPrevAndNextNews($news_id); ?>
0){ ?>
/home/invita/public_html/view-news.php on line 61
" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="" style="width:100%;">

Warning: Undefined variable $content_rec in /home/invita/public_html/view-news.php on line 65

Warning: Trying to access array offset on value of type null in /home/invita/public_html/view-news.php on line 65

Warning: Attempt to read property "wk_news_title" on null in /home/invita/public_html/view-news.php on line 65