templaza / astroid-framework

Powerful framework for designers and developers to create responsive, fast & robust Joomla based websites and templates.
https://astroidframe.work/
GNU General Public License v3.0
76 stars 12 forks source link

author links issue #695

Open tmumm opened 2 weeks ago

tmumm commented 2 weeks ago

When I attempt to add social/links to author profile I get this error:

An error has occurred. 0 Attempt to assign property "astroid_author_social0" on array

I've not used the profile feature much previously, so unsure if its just related to this site. Joomla 5.1.1 and Astroid 3.0.15

sonvnn commented 2 weeks ago

@tmumm It's an issue of User component when some extensions use SubForm field. I created a quickfix by using onContentPrepareData trigger on https://github.com/templaza/astroid-framework/commit/774520b2f0a2bead4572ad72854eafc8ced5c602

You can download v3-branch and test it.

Best Regards, Sonny

tmumm commented 2 weeks ago

Confirmed that fixed the issue. Thank you