- Posts: 95
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- ERROR When No K2 Content Published On Component Page - JUser::_load: Unable to load user with id:
ERROR When No K2 Content Published On Component Page - JUser::_load: Unable to load user with id:
- FidelGonzales
-
Topic Author
- Offline
- Premium Member
But the problem is that when I eliminate any items being published on the K2 front page via the component, the page loads slower, and I receive the following error at the bottom of the component:
JUser::_load: Unable to load user with id: 63
Is this a bug, a limitation or misconfiguration? I have seen several references to this error prior to latest release as well as for the latest release I am running. Thank you for your assistance.
Please Log in or Create an account to join the conversation.
- Llewellyn
-
- Offline
- New Member
- Posts: 1
JUser::_load: Unable to load user with id: 63
Yet not all the items do it, only the unpublished items. The published items are okay. I am also running on the latest release.
thanks.
Please Log in or Create an account to join the conversation.
- Lonnie Waugh
-
- Offline
- Junior Member
- Posts: 21
Please Log in or Create an account to join the conversation.
- FidelGonzales
-
Topic Author
- Offline
- Premium Member
- Posts: 95
I am using the default Joomla Front Page Component as my front page. I have not published any Joomla content on it but use it to collaborate all front page modules and components, primarily consisting of static HTML. I publish modules and plugins through the use of the CustomContent Module, which utilizes Joomla content articles for its HTML. This provides the capability for editors and publishers to modify the page from the front end and also the capability to publish modules and plugins.
Lastly, since I use K2 as a blog, I link it to the blogs menu link name. This happens to work out a bit better, since I can better manage the look and feel of the front page and also of what K2 blog elements (categories/tags) I publish there.
I have a working sample not for publish if interested.
Please Log in or Create an account to join the conversation.
- FidelGonzales
-
Topic Author
- Offline
- Premium Member
- Posts: 95
Please Log in or Create an account to join the conversation.
- Anthony
-
- Offline
- New Member
- Posts: 3
Please Log in or Create an account to join the conversation.
- Wil Cleland
-
- Offline
- New Member
- Posts: 5
Migrated the content using "ExportContent" component.
The issue didn't rear it's head until I imported all 500 articles into K2.
Once the import was complete however I started getting the exact error which I solved using the following SQL Query
UPDATE `jos_content` SET created_by = 62 WHERE created_by = 63
Whereas ID 62 is the NEW_ID and 63 was the OLD_ID
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
Please Log in or Create an account to join the conversation.
- Wil Cleland
-
- Offline
- New Member
- Posts: 5
User ID 63 NEVER existed. This was a brand new installation with ONLY the Super-Administrator with ID 62.
Either way it really doesn't matter as long as there IS a user with the ID you assign.
This solution works for me, and that is all I wanted to share. I have scoured for answers to this and in the end had to figure it out myself as there have been no replies to these forums in quite some time and the issues that caused it are plentiful.
Please Log in or Create an account to join the conversation.
- Steev J
-
- Offline
- New Member
- Posts: 3
my admin user has a id of 62
created a new user and then the id was 64 :/
Please Log in or Create an account to join the conversation.
- Wil Cleland
-
- Offline
- New Member
- Posts: 5
If you go to your MySQL database in PHPMyadmin you can navigate to the SQL Tab at the top of the Database view.
In the large white box insert the code above replacing the ID's appropriately.
Please Log in or Create an account to join the conversation.
- Steev J
-
- Offline
- New Member
- Posts: 3
For me tho, I had to update the ID in other tables aswell tho.
Please Log in or Create an account to join the conversation.
- Wil Cleland
-
- Offline
- New Member
- Posts: 5
Please Log in or Create an account to join the conversation.
- Gaetan
-
- Offline
- New Member
- Posts: 2
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- ERROR When No K2 Content Published On Component Page - JUser::_load: Unable to load user with id: