Jump to content

<?php echo $Paid->getVar('var1',$listing);?> not support on custom list page


Nathan Gwilliam

Recommended Posts

Hi,

 

 

Joomla Version    - 3.3.0

JReviews Version  - v2.4.15.3

Paidlisting addon version -  2.5.2.2

 

 

I am trying to create menu for virtual category listing.

 

I have set Type of Menu as "Custom List"

Custom WHERE set as per instruction

Field.jr_state like'%*alabama*%'

as per instructions

When I open the url it given me 2 error

 

1) [8] Undefined variable: Paid on line 55 in file .................. /listings/listings_masonry.thtml

2) Call to a member function getVar() on a non-object on line 55 in file

 

This code I have written on line no. 55

 

$paidListingType = $Paid->getVar('plan_type',$listing);

 

If I open same page via following url then it works properly.

 

http://SITE_URL/tag/state/alabama

 

It seems that $Paid variable is not accessible on custom list page. On other listing details and on category page $Paid is accessible. And works properly.

 

How to resolve this problem.

 

Thanks in advance.

 

Link to comment
×
×
  • Create New...