The MenuItem core_main_chat param
"icon":"fa-comment-o"
threw an error because the resource for image is not existing. I guess fa-comment-o is a class, not a image.
Deleted it and it still works fine.
Please provide details requested in our stickied post for how to post bug reports. This will assist us in testing the issue.
Chat module throws error in console
The Chat module throws an error in the console
Error Message:
fa-comment-o:1 GET http://mylocalhost/fa-comment-o 404 (Not Found)
I think it is because of the menuitem table entry for chat "core_main_chat". The params say
{"route":"default","module":"chat","icon":"fa-comment-o"}
but the icon is not existing/found.
I just removed the icon-item of the json to
{"route":"default","module":"chat"}
and it worked for us.
We use an AMP, PHP 7 and Socialengine 4
I'll have to try testing as I'm still not sure whether you are adding a new menu, using the existing menu, or changing anything in the menu.
We are using the existing "default" menu item installed by your plugin. The only thing we changed is the "icon" thing in the params.
Testing on SE 4.9.2p1, I set the menu to vertical so I could see the icons. Chat already has an icon hard coded for it, the fa-comment-o so it doesn't need to be added. In checking my local developer console, I'm not seeing an error that you mention. Using default insignia theme. These are font awesome icons that exist via font-awesome mentioned here, https://support.socialengine.com/php/customer/en/portal/articles/2771313-enabling-vertical-menus?b_id=14386.
Ok thank you!
You're welcome.
b2bcadenas said:
The MenuItem core_main_chat param
"icon":"fa-comment-o"
threw an error because the resource for image is not existing. I guess fa-comment-o is a class, not a image.
Deleted it and it still works fine.
b2bcadenas, welcome to the community!
Try clearing cache.