fbpx

Summer Sale: Enjoy Flat 35% Discount on all the Joomla Products. No Coupon RequiredGrab the Deal Now!

Welcome, Guest
Username: Password: Remember me

TOPIC: (SOLVED) ERROR 0 - Using $this when not in object context

(Solved) ERROR 0 - Using $this when not in object context 3 months 3 weeks ago #28339

  • Flip
  • Flip's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Karma: 0
Hi, everyone i have this problem on my site.
After anable privacy content on my joomla i try to create an user but when i agree terms of use and save the profile the page is redirect on this page.

Joomla Version: Joomla! 3.9.21 Stable
Template Version: Jd Boston 3.0
Framework: 2.2.3

Anyone can help me?

Thanks
Attachments:
Last Edit: 3 months 2 weeks ago by Flip.
The administrator has disabled public write access.

ERROR 0 - Using $this when not in object context 3 months 3 weeks ago #28346

  • nishtha
  • nishtha's Avatar
  • Offline
  • Moderator
  • Posts: 2438
  • Thank you received: 218
  • Karma: 35
Hi,

Firstly I would suggest you to please update the template to the latest versions and then re-check the issue.
Keep a backup before you update!

Thanks,
Nishtha
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
Last Edit: 3 months 3 weeks ago by nishtha.
The administrator has disabled public write access.

ERROR 0 - Using $this when not in object context 3 months 2 weeks ago #28401

  • Flip
  • Flip's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Karma: 0
Thanks for your help.
I have JD Boston Astroid 3.0 and Astroid Framework 2.2.3 then i have to update only framework right? And how can i do?


I made only Joomla updates to version 3.9.24 but the problem still here.
This problem was born when i activated the privacy plugin of joomla core (Privacy-consent/Privacy-Content) and when i deactivated this i not have problem and everything works normally

Thanks
The administrator has disabled public write access.

ERROR 0 - Using $this when not in object context 3 months 2 weeks ago #28405

  • nishtha
  • nishtha's Avatar
  • Offline
  • Moderator
  • Posts: 2438
  • Thank you received: 218
  • Karma: 35
Hi,

You are required to update both the Template and the Framework in JD Boston. The current version of the template is v3.1 on Astroid 2.4.1

Please update and re-check.

Thanks,
Nishtha
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.

ERROR 0 - Using $this when not in object context 3 months 2 weeks ago #28416

  • Flip
  • Flip's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Karma: 0
I understand this, but i don't know how i make upgrade correctly without crash everything.
There is a procedure to follow?

Thanks
The administrator has disabled public write access.

ERROR 0 - Using $this when not in object context 3 months 2 weeks ago #28431

  • nishtha
  • nishtha's Avatar
  • Offline
  • Moderator
  • Posts: 2438
  • Thank you received: 218
  • Karma: 35
Hi,

Firstly, please keep a backup file of your work.

Next, download and update the Astroid framework here: github.com/joomdev/Astroid-Framework/releases/tag/v2.4.1 (Install Astroid Framework v2.4.1 file only).
Once your framework is updated, then download and install the JD Boston Template only file: www.joomdev.com/my-downloads/jd-boston

After the updates, if everything is fine, re-check the issue. But if you face any other issues, then you can refer to this document and make the changes accordingly: docs.joomdev.com/article/things-to-remem...stroid-2-3-0-to-2-4/

Still anything remains then Forum support is here you can report it here.

Thanks,
Nishtha
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.

ERROR 0 - Using $this when not in object context 3 months 2 weeks ago #28448

  • Flip
  • Flip's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Karma: 0
I made every upgrade and site is working but the old error still there.

When i active the plugin "System - Privacy Consent" and i try to login and accept privacy policy and save the site redirect me in the same error page and the logged user can't do anything on the site, is locked in these page.
For the activation of this plugin i follow the guide online for Joomla Italy and i follow all steps correctly.
But i can solve this problem installing new plugin for the Privacy policy if there are no other solutions.

A new problem after the upgrade is appeard in home page Slides. Smart Slider 3 in herosection position is disappeard in frontend, debug not show any error. Any idea?
I checked the settings in remote site whit old version are the same of this upgraded version.
Last Edit: 3 months 2 weeks ago by Flip.
The administrator has disabled public write access.

ERROR 0 - Using $this when not in object context 3 months 2 weeks ago #28456

  • nishtha
  • nishtha's Avatar
  • Offline
  • Moderator
  • Posts: 2438
  • Thank you received: 218
  • Karma: 35
The error seems to be coming from K2 Component, so do you have the K2 registration enabled, if yes then please disable it(www.screencast.com/t/mxk8T7Wgk).

Also why will Smart Slider not work if you updated the template, it would be advisable you ask this issue on their forum.
Not sure why it stopped working!

Thanks,
Nishtha
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.

ERROR 0 - Using $this when not in object context 3 months 2 weeks ago #28466

  • Flip
  • Flip's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Karma: 0
Finally now is working good, also Smart slider working again without my edit.

Thank you
The administrator has disabled public write access.

ERROR 0 - Using $this when not in object context 3 months 1 week ago #28485

  • nishtha
  • nishtha's Avatar
  • Offline
  • Moderator
  • Posts: 2438
  • Thank you received: 218
  • Karma: 35
Sounds great! Problem look solved then.
Do let us know for more this topic shall now be closed.

Thanks,
Nishtha
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.
Moderators: chandandeep
Time to create page: 0.436 seconds