This topic is locked
[SOLVED]

 "User Profil" - Error in existing project

1/15/2021 9:41:48 AM
PHPRunner General questions
T
taumic author

Hello,

I have transferred a project from 10.4 (V.36153) to 10.5 (V.36478).

In the new application (from 10.5) there is now without any action in a small menu (right above, at the LogOut) the selection "User Profile".

After pressing the same I get the following error message:
===

Fatal error: Call to a member function exists() on a non-object in C:\xampp\htdocs\Alaska_105\classes\editpage.php on line 281

===

Line 279-285 in editpage.php:



public function init()

{

if( $this->eventsObject->exists("BeforeProcessEdit") )

$this->eventsObject->BeforeProcessEdit( $this );
parent::init();

}


I have already rebuilt all pages (using the "Reset all Pages" button) in the editor area, but unfortunately it didn't help.

Is this a general understandable error/compatibility problem, or did I not consider something?
If I create a new project under V.10.5 the menu item "User-Profile" works !
Does anyone have an idea where it crunches?
Thanks in advance and best regards
Michael

admin 1/15/2021

You need to post your project to Demo Account and to contact support directly. If this only happens in this specific project we would need to see its configuration.

A
Andreas G. 1/18/2021

same problem

10.5 is not 100% backwards compatible.
I was already desperate ...... <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=93599&image=1&table=forumreplies' class='bbc_emoticon' alt=':blink:' />
thereby creating more work or new project

T
taumic author 1/19/2021

Thank you very much,
Sergej, the project is big and quite old.

After other 10.4 projects could be brought to 10.5 without problems, I decided to remove the menu item "User-Profiles" from this project (remove-button) . Of course this is not very professional.....

Basically I would suggest to be able to throw the function "User-Profile" out of a project with a check mark - because at least the fewest of my customers want to show the user profiles. Who needs it can use it then and is grateful for it?! Just an idea, maybe it already exists?
Sorry - many thanks and best regards
Michael

admin 1/19/2021

I'm not quite sure what this checkbox will do. User profiles are only to be seen by the user themself. Not every project needs it but if you use features like two-factor authentication or userpics - this is where settings like this can be changed.