Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Fatal error: Call member function toString() VM
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 3 (Joomla 1.5 compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.

TOPIC: Fatal error: Call member function toString() VM

Fatal error: Call member function toString() VM 14 years, 3 months ago #10122

Order No. 7684
JoomSEF 3.5.4
VirtueMart 2.0.16

On the front end of my site above account maintenance for admin users there is a link that says "Admin" which is for them to login into VirtueMart with their own admin privileges.

When you click the link after a user (which links to www.mydomain.com/index2.php?page=store.i...uemart&Itemid=66) you get the following error code:

Fatal error: Call to a member function toString() on a non-object in /home/content/37/5063737/html/libraries/joomla/methods.php on line 55

Any idea how to fix this?

Joomla! 1.5.15 Stable
VirtueMart 1.1.4 stable
PHP Version: 5.2.8
The topic has been locked.

Re:Fatal error: Call member function toString() VM 14 years, 3 months ago #10126

  • jaku
Hello,

I am afraid this error has nothing to do with JoomSEF.
There are 2 reasons why I think so:
1) the URL you click before you get error start with index2 and is not SEF - that means btw. it was not processed by JoomSEF in any way
2) the error is coming from Joomla core file

So fixing this should be problably based on inspecting the code on mentioned line and checking what is the reason why it appears. If you want, we could check it as part of paid support, but as regards JoomSEF, I think that is not related to that.
The topic has been locked.

Re:Fatal error: Call member function toString() VM 14 years, 3 months ago #10187

Well the error only occurs if JoomSEF is turned on.

Is there a way of making sure either the URL or any URL containing index2.php doesn't redirect?
The topic has been locked.

Re:Fatal error: Call member function toString() VM 14 years, 2 months ago #10477

I have the same thing happening with me. On the order receipt there is a link at the bottom for customers to view and print their orders. This is the link: /index2.php?page=order.order_print&order_id=20012590&pshop_mode=admin&option=com_virtuemart&Itemid=93.

Fatal error: Call to a member function toString() on a non-object in /home1/chilibea/public_html/libraries/joomla/methods.php on line 55

With JOOMSEF turned off, the link successfully goes to a login page so that the user can check their order status.
The topic has been locked.

Re:Fatal error: Call member function toString() VM 14 years, 2 months ago #10479

  • jaku
Can you please confirm, if that this occurs when JoomSEF is disabled (in JoomSEF / Configuration), but Joomla SEO is enabled (in Global configuration)?
The topic has been locked.

Re:Fatal error: Call member function toString() VM 14 years, 2 months ago #10480

  • jaku
Hello,

I have tested this now.
There are 2 versions of link in the order receipt - 1 for customer, 1 for admin.

The one for customer starts with index.php?... and works fine. It gets redirected to something like:
t/e-shop/account/order?order_id=xxx

The other - for shop admin - starts with index2.php?... . It should not be processed by JoomSEF or Joomla SEO engine at all, but seems something is attepting to do so. We will investigate this closer.

Anyway, it should not be problem for your customers, just for you as shop owners.
The topic has been locked.
Přihlášení uživatele Prázdný