Error: Trying to get a property of non object

More
9 years 11 months ago #298 by misholini
Replied by misholini on topic Error: Trying to get a property of non object
I will stay vintage for the moment and am not in a rush to update. Thought you might have a quick patch on that, but anyways thank you for the communication!

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #299 by joomladds
Replied by joomladds on topic Error: Trying to get a property of non object
I decided to take a quick peek into the old version that you are discussing and indeed, there appears to be an invalid line of code.

Please download the updated version from our site and let me know if that fixed your issue.

Thank you for your patience.

I'd love to change the world... but they won't give me the source code!

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #300 by misholini
Replied by misholini on topic Error: Trying to get a property of non object
I appreciate your time! I downloaded the plugin again but files seem to be identical with the version I have, i did not spot any difference. Please let me know where the change is. The error is still there. The culprit is in core_login_redirect.php on line 23:
$params = new JParameter($plugin->params);

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #301 by joomladds
Replied by joomladds on topic Error: Trying to get a property of non object
The main line of code that was changed was line 22 : ' $plugin = & JPluginHelper::getPlugin('system', 'plg_core_login_redirect');'
Which was referencing the wrong plugin completely. This incorrect piece of code would indeed report an error on the next line because it wouldn't have returned any results making line 23 a non-object.

Please double check to make sure that the fix I supplied included that code change at line 22.

Really, that is the only thing I can see that could generate the issue reported.


Unfortunately, as I said, this version of the plugin isn't really supported any longer. Furthermore, I don't even have a dev version of Joomla 1.5.x to further test.

===

Update: I realized just before posting this that again, I had included an incorrect line of code. Line 22 should actually read:
$plugin = & JPluginHelper::getPlugin('system', 'core_login_redirect');

This change has been made and posted to the downloads on our website, you may try it again. Hopefully this will finally resolve your issue.

I'd love to change the world... but they won't give me the source code!
The following user(s) said Thank You: misholini

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #302 by misholini
Replied by misholini on topic Error: Trying to get a property of non object
Fair play to you! All solved now.Excellent support.Thanks!

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #303 by joomladds
Replied by joomladds on topic Error: Trying to get a property of non object
Good to hear! Thanks!

I'd love to change the world... but they won't give me the source code!

Please Log in or Create an account to join the conversation.

Time to create page: 0.158 seconds