Parse error: syntax error

  • Answered
Hi I get this Parse error: syntax error, unexpected ''),' (T_CONSTANT_ENCAPSED_STRING) in/home/public_html/catalog/controller/product/product.php on line 12. Here are the php codes load->language('product/product'); $data['breadcrumbs'] = array(); $data['breadcrumbs'][] = array( 'text' => $this->language->get('text_home''), 'href' => $this->url->link('common/home') ); $this->load->model('catalog/category'); if (isset($this->request->get['path'])) { $path = ''; I couldn't figure out what I did wrong. Please help. Thank you.
Hello newbie15,

Thank you for contacting us about a "Parse syntax" error, we're glad you were able to get it going. We also appreciate you sharing your solution.

If you have any further questions, feel free to post them below.

Thank you,
John-Paul B
Hi, I had figure it out. It was the extra ' after the word home ('text_home''). Once I removed it ,the parse error message was gone.