Unhandled Error!

Undefined variable: styles

Document Product: Paddle Boards
Document type CMS page POST action code
Line 54
Exception class Cms_ExecutionException

Code Highlight

	$video2 = $product->flyncaf_video_embed2;
	$travelink = $product->flyncaf_travelink_system;
	$travelinkgallery = Gallery_Set_Item::create()->find_by_slug("travelink-gallery");
	$related_products = $product->list_related_products()->find_all();
 
	$this->data['group'] = $group;
	$this->data['styles']=$styles;
	$this->data['product'] = $product;
	$this->data['myPosted_options'] = $myPosted_options;
	$this->data['myImages']=$myImages;
	$this->data['featureImg']=$featureImg;
	$this->data['studioImg']=$studioImg;
	$this->data['deckedImg']=$deckedImg;
# Document Type
1 Product: Paddle Boards CMS page POST action code