By Syabab on Tuesday, 23 October 2018
Posted in General Issues
Replies 18
Likes 0
Views 385
Votes 0
Hi,

Owner and Admin of Page in my site cannot edit or update their Pages. See my attached file.

Thanks.
Hey there,

It seems that I can't replicate the issue on your site. Am I missing anything? (Kindly refer the screenshot)

May I know what is the steps to replicate the issue that you mentioned on your site so I can have a better check on it?
·
Tuesday, 23 October 2018 15:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Thanks for checking.

Using the provided account, try to edit any of pages in this category here:

Here' the link

Sometimes it does not go to that blank page. If it's not, changes made will not saved.

Thanks.
·
Tuesday, 23 October 2018 16:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

After trying many times, I still can't replicate it out on your site.

But I had modified and commented out the following PHP code in cms.php file which is at JoomlaFolder/libraries/cms.php so that when you encounter the issue again, it will show the full error:


set_exception_handler(array('JErrorPage', 'render'));


When you encounter the issue again, kindly update us with screenshots or copy & paste the error message so that we can have a better check on it.

Thanks for your understanding.
·
Tuesday, 23 October 2018 17:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

After trying many times, I still can't replicate it out on your site.

But I had modified and commented out the following PHP code in cms.php file which is at JoomlaFolder/libraries/cms.php so that when you encounter the issue again, it will show the full error:


set_exception_handler(array('JErrorPage', 'render'));


When you encounter the issue again, kindly update us with screenshots or copy & paste the error message so that we can have a better check on it.

Thanks for your understanding.




Here's the error;


Fatal error: Uncaught Error: Call to a member function get() on null in /home/mysite/public_html/dev7/media/com_easysocial/apps/fields/page/files/files.php:126 Stack trace: #0 /home/mysite/public_html/dev7/administrator/components/com_easysocial/includes/fields/handlers.php(90): SocialFieldsPageFiles->onEditBeforeSave(Array, Object(SocialPage)) #1 /home/mysite/public_html/dev7/administrator/components/com_easysocial/includes/fields/triggers.php(308): SocialFieldHandlers->beforeSave('onEditBeforeSav...', Object(SocialFieldsPageFiles), Array, Array) #2 /home/mysite/public_html/dev7/administrator/components/com_easysocial/includes/fields/triggers.php(320): SocialFieldTriggers->onEvent('page', Array, Array, Array) #3 /home/mysite/public_html/dev7/administrator/components/com_easysocial/includes/fields/fields.php(324): SocialFieldTriggers->__call('onEditBeforeSav...', Array) #4 /home/mysite/public_html/dev7/components/com_easysocial/controllers/pages.php(842): SocialFields->trigger('onEditBeforeSav...', 'page', Arr in /home/mysite/public_html/dev7/media/com_easysocial/apps/fields/page/files/files.php on line 126


Thanks.
·
Tuesday, 23 October 2018 17:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

You can see it when update this page;

Here' the link
·
Tuesday, 23 October 2018 17:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Just found out that there is 2 pages without title at Pages backend...is it related to this error?

See my attached file.

Thanks.
·
Tuesday, 23 October 2018 18:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

It is a known issue and we had fixed it for you already by adding the following PHP code into the files.php file which is at JoomlaFolder/media/com_easysocial/apps/fields/page/files/files.php:


$params = $page->getParams();


I also had helped you to fix the other known issues which are similar to your issue.

It should be working fine now. Can you have a try and see how it goes?
·
Tuesday, 23 October 2018 18:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Just found out that there is 2 pages without title at Pages backend...is it related to this error?

Is this from the same error? Is it safe for me to delete this 2 untitled pages?




Can I have a list of fixed files and path to it? I need to apply to to our live site.

I tested it just now, so far it works well.

Thanks.
·
Tuesday, 23 October 2018 18:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

Just found out that there is 2 pages without title at Pages backend...is it related to this error?


No worries, it does not. You can delete it.

Can I have a list of fixed files and path to it? I need to apply to to our live site.

I tested it just now, so far it works well.


Sure, no problem.

Path:

JoomlaFolder/media/com_easysocial/apps/fields/page/polls/polls.php

JoomlaFolder/media/com_easysocial/apps/fields/page/files/files.php

JoomlaFolder/media/com_easysocial/apps/fields/page/feeds/feeds.php

JoomlaFolder/media/com_easysocial/apps/fields/page/discussions/discussions.php

You can just add the PHP code that I shared just now into the onEditBeforeSave() function into each of the files above.
·
Tuesday, 23 October 2018 18:41
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post