- Posts: 87
- Thank you received: 0
OS Property support center
SOLVED !!! Advanced Search does not work
- brianpat pat
- Topic Author
- Offline
- Premium Member
-
Less
More
9 years 7 months ago - 9 years 7 months ago #69430
by brianpat pat
SOLVED !!! Advanced Search does not work was created by brianpat pat
Hi,
I am getting the following errors while searching for advanced search:
Fatal error: Call to a member function set() on a non-object in /home/xxxx/xxxxx/home/components/com_osproperty/classes/listing.php on line 1612
regards
I am getting the following errors while searching for advanced search:
Fatal error: Call to a member function set() on a non-object in /home/xxxx/xxxxx/home/components/com_osproperty/classes/listing.php on line 1612
regards
Last edit: 9 years 7 months ago by Mr. Dam.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Away
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
9 years 7 months ago #69432
by Mr. Dam
Replied by Mr. Dam on topic Advanced Search does not work
Hi,
Please submit ticket and send your site information with super admin account. I will check the issue for you
Thanks
Dam
Please submit ticket and send your site information with super admin account. I will check the issue for you
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Dragan
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 0
9 years 7 months ago - 9 years 7 months ago #70095
by Dragan
Replied by Dragan on topic Advanced Search does not work
Hi,
I'tm getting the same error.
When I click on the advanced search I'm getting the results. That's ok but when I click on the maps I'm getting the following error
The line 1611 is acctually this line of code
What was the solution for the gentleman above please?
Thanks
I'tm getting the same error.
When I click on the advanced search I'm getting the results. That's ok but when I click on the maps I'm getting the following error
Code:
[Fri Oct 09 09:39:41.395050 2015] [:error] [pid 2420] PHP Fatal error: Call to a member function set() on a non-object in /var/www/html/components/com_osproperty/classes/listing.php on line 1611
Code:
$session->set('advurl',$url);
Thanks
Last edit: 9 years 7 months ago by Dragan.
Please Log in or Create an account to join the conversation.
- Dragan
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 0
9 years 7 months ago #70096
by Dragan
Replied by Dragan on topic Advanced Search does not work
Ok, I sorted it out myself.
The old set session command was used. New command is $_SESSION["sessionname"] = $variable;
Just do that
and it works marvelously.
The old set session command was used. New command is $_SESSION["sessionname"] = $variable;
Just do that
Code:
// $session->set('advurl',$url);
$_SESSION["advurl"] = $url;
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Away
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
9 years 7 months ago #70098
by Mr. Dam
Replied by Mr. Dam on topic Advanced Search does not work
Hi Dragan,
This issue will be solved in next OS Property version 2.9.2 (released on next week)
Thanks
Dam
This issue will be solved in next OS Property version 2.9.2 (released on next week)
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Dragan
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 0
9 years 7 months ago #70100
by Dragan
Replied by Dragan on topic Advanced Search does not work
No prob 
Yes, there are quite few session set wrong commands across the script so if you want to avoid excessive support this is the solution.

Yes, there are quite few session set wrong commands across the script so if you want to avoid excessive support this is the solution.
Code:
components\com_osproperty\classes\agent.php
components\com_osproperty\classes\ajax.php
components\com_osproperty\classes\company.php
components\com_osproperty\classes\compare.php
components\com_osproperty\classes\listing.php
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.