Keyword

K2 Edit Profile shows Error in Frontend after change to PHP 7.2.7

  • Andreas Schrader
  • Andreas Schrader's Avatar Topic Author
  • Offline
  • New Member
More
5 days 13 hours ago #168486 by Andreas Schrader
Andreas Schrader created the topic: K2 Edit Profile shows Error in Frontend after change to PHP 7.2.7
I have a Website with a K2 Profile Edit Site in the Frontend. When I click on the save Button, the Site throws the Error "Using $this when not in object context".
The Site and Function worked fine with PHP 7.0 but throws this Error when I changed the PHP Version to 7.1 or higher.

Do you have any suggestions, what I have to change in the Code to fix this? Changing the PHP Version back to 7.0 is not an option, because my Client wants to change the PHP Version directly to 7.2.

Thanks for your Feedback :)

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

More
5 days 3 hours ago #168495 by Krikor
Krikor replied the topic: K2 Edit Profile shows Error in Frontend after change to PHP 7.2.7
Are you using any overrides?
Also can you send me the line where this error occurs ?
It must have been printed or recorded in your error log.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

  • Andreas Schrader
  • Andreas Schrader's Avatar Topic Author
  • Offline
  • New Member
More
4 days 15 hours ago #168499 by Andreas Schrader
Andreas Schrader replied the topic: K2 Edit Profile shows Error in Frontend after change to PHP 7.2.7
I checked the Code and there is no Override for the Profile edit Page.
I enabled the Debug Mode and it show the following Error:
Attachments:

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

More
5 hours 44 minutes ago #168522 by Krikor
Krikor replied the topic: K2 Edit Profile shows Error in Frontend after change to PHP 7.2.7

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

Moderators: william white