There is no dedicated list for brands icons, just add "discord" to Icons list (if not detected automatically) and it should work.How do I getto work?Code:fab fa-discord
works in ACP doesnt work on the site.There is no dedicated list for brands icons, just add "discord" to Icons list (if not detected automatically) and it should work.
Set log level to debug, run a rebuild and post the log.works in ACP doesnt work on the site.
fab is for brand icons
ErrorException: [E_WARNING] preg_match_all() expects parameter 2 to be string, array given src/addons/Kirby/FontAwesomeManager/Helper.php:327
Generiert von: xxxxxx 20 Oktober 2022 um 13:37
Stack-Trace
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] pre...', '/homepages/33/d...', 327, Array)
#1 src/addons/Kirby/FontAwesomeManager/Helper.php(327): preg_match_all('#(fa-[a-z0-9][a...', Array, NULL)
#2 src/addons/Kirby/FontAwesomeManager/Listener.php(225): Kirby\FontAwesomeManager\Helper::getMatches(Object(XF\Entity\StyleProperty), Array)
#3 [internal function]: Kirby\FontAwesomeManager\Listener::Kirby\FontAwesomeManager\{closure}(Object(XF\Entity\StyleProperty))
#4 src/XF/Extension.php(50): call_user_func_array(Object(Closure), Array)
#5 src/XF.php(930): XF\Extension->fire('entity_post_sav...', Array, 'XF\\Entity\\Style...')
#6 src/XF/Mvc/Entity/Entity.php(1272): XF::fire('entity_post_sav...', Array, 'XF\\Entity\\Style...')
#7 src/XF/Repository/StyleProperty.php(258): XF\Mvc\Entity\Entity->save()
#8 src/XF/Admin/Controller/Style.php(312): XF\Repository\StyleProperty->updatePropertyValues(Object(XF\Entity\Style), Array, Array)
#9 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\Style->actionStylePropertiesGroup(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Style', 'StyleProperties...', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Style), NULL)
#11 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Style), NULL)
#12 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(2326): XF\Mvc\Dispatcher->run()
#14 src/XF.php(488): XF\App->run()
#15 admin.php(13): XF::runApp('XF\\Admin\\App')
#16 {main}
Status der Anfrage
array(4) {
["url"] => string(83) "/admin.php?styles/bolt-parent-do-not-edit.30/style-properties/group&group=headerNav"
["referrer"] => string(106) "https://www.fanlager.de/admin.php?styles/bolt-parent-do-not-edit.30/style-properties/group&group=headerNav"
["_GET"] => array(2) {
["styles/bolt-parent-do-not-edit_30/style-properties/group"] => string(0) ""
["group"] => string(9) "headerNav"
}
["_POST"] => array(5) {
["json"] => string(5115) "{"properties_listed":["xbTopBar","publicHeaderAdjustColor","xbLogoPosition","xbLogoResponsive","xbSearchLocation","xbVisitorTabsLocation","xbStretchNav","xbNavigationIcons","xbNavSelectedStyle","publicNavPaddingV","publicNavPaddingH","xbStickyStaff","publicNavSticky","publicNavCollapseWidth","xbAccountText","xbDisableSubnav","publicSubNavPaddingV","publicSubNavPaddingH","xbTopBarStyle","publicHeader","xbHeaderInner","publicNav","publicNavTab","publicNavSelected","publicNavTabHover","publicNavTabMenuOpen","publicSubNav","publicSubNavElHover","publicSubNavElMenuOpen","xbSearchCSS","publicStaffBar"],"properties":{"publicHeaderAdjustColor":"fade(@xf-paletteNeutral3, 15%)","xbLogoPosition":"insidenav","xbSearchLocation":"default","xbVisitorTabsLocation":"default","xbStretchNav":"stretchboth","xbNavigationIcons":"above","xbNavSelectedStyle":"default","publicNavPaddingV":"14px","publicNavPaddingH":"20px","publicNavSticky":"primary","publicNavCollapseWidth":"@xf-responsiveMedium","xbAccountText":"","xbDisableSubnav":"1","publicSubNavPaddingV":"6px","publicSubNavPaddingH":"8px","xbTopBarStyle":{"font-size":"","color":"@xf-paletteColor2","font-weight":"","background-color":"#b2002a","background-image":"","border-width":"","border-color":"","border-top-width":"","border-top-color":"","border-right-width":"","border-right-color":"","border-bottom-width":"","border-bottom-color":"","border-left-width":"","border-left-color":"","padding":"","padding-top":"","padding-right":"","padding-bottom":"","padding-left":"","extra":""},"publicHeader":{"font-size":"","color":"@xf-paletteColor2","font-weight":"","background-color":"#f5f5f5","background-image":"","extra":"background-repeat: repeat-x;"},"xbHeaderInner":{"font-size":"","color":"","font-weight":"","background-color":"","background-image":"","border-width":"","border-color":"","border-top-width":"","border-top-color":"","border-right-width":"","border-right-color":"","border-bottom-width":"","border-bottom-color":"","border-left-width":"","border-left-color":"","padding":"","padding-top":"","padding-right":"","padding-bottom":"","padding-left":"","extra":""},"publicNav":{"font-size":"","color":"#000000","font-weight":"","background-color":"#ffffff","background-image":"","extra":""},"publicNavTab":{"font-size":"","color":"@xf-chromeTextColor","font-weight":"","text-decoration":"none","background-color":"","background-image":"","extra":""},"publicNavSelected":{"font-size":"","color":"#b2002a","font-weight":"@xf-fontWeightHeavy","background-color":"#ffffff","background-image":"","border-width":"","border-color":"","border-radius":"","border-top-width":"","border-top-color":"","border-top-left-radius":"@xf-borderRadiusSmall","border-right-width":"","border-right-color":"","border-top-right-radius":"@xf-borderRadiusSmall","border-bottom-width":"","border-bottom-color":"","border-bottom-right-radius":"","border-left-width":"","border-left-color":"","border-bottom-left-radius":"","extra":""},"publicNavTabHover":{"font-size":"","color":"","font-weight":"","text-decoration":"none","background-color":"fade(@xf-publicNavTab--color, 6%)","background-image":"","extra":""},"publicNavTabMenuOpen":{"font-size":"","color":"@xf-paletteColor1","font-weight":"","text-decoration":"none","background-color":"fade(@xf-paletteColor3, 50%)","background-image":"","extra":""},"publicSubNav":{"font-size":"@xf-fontSizeSmall","color":"@xf-publicNavSelected--color","font-weight":"","background-color":"#b2002a","background-image":"","border-width":"","border-color":"","border-top-width":"","border-top-color":"","border-right-width":"","border-right-color":"","border-bottom-width":"@xf-borderSize","border-bottom-color":"xf-intensify(@xf-publicSubNav--background-color, 10%)","border-left-width":"","border-left-color":"","extra":"padding: 5px 0px;"},"publicSubNavElHover":{"font-size":"","color":"xf-intensify(@xf-publicSubNav--color, 20%)","font-weight":"","extra":""},"publicSubNavElMenuOpen":{"font-size":"","color":"contrast(@xf-publicSubNavElMenuOpen--background-color)","font-weight":"","text-decoration":"none","background-color":"fade(@xf-paletteColor3, 65%)","background-image":"","extra":""},"xbSearchCSS":{"font-size":"","color":"#A4B5F6","font-weight":"","background-color":"rgba(0, 0, 0, 0)","background-image":"","border-width":"0px","border-color":"","border-top-width":"","border-top-color":"","border-right-width":"","border-right-color":"","border-bottom-width":"1px","border-bottom-color":"xf-diminish(@xf-publicHeader--background-color, 15%)","border-left-width":"","border-left-color":"","extra":"width: 280px;\r\nborder-radius: 0;"},"publicStaffBar":{"font-size":"@xf-fontSizeSmall","color":"contrast(@xf-publicStaffBar--background-color)","font-weight":"","background-color":"@xf-paletteColor5","background-image":"","border-width":"","border-color":"","border-top-width":"","border-top-color":"","border-right-width":"","border-right-color":"","border-bottom-width":"@xf-borderSize","border-bottom-color":"xf-intensify(@xf-publicStaffBar--background-color, 4%)","border-left-width":"","border-left-color":"","extra":""}}}"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(83) "/admin.php?styles/bolt-parent-do-not-edit.30/style-properties/group&group=headerNav"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
It doesn't.I'm still using an ancient beta version, but it works perfectly.
The latest FA version is 6.2.0, this version is not compatible with XF 2.2.3 (or any other XenForo version); only the FA version that is shipped with XF is guaranteed to work.I am currently using XF 2.2.3. Is the latest FA version compatible with it?
1 2.0 Beta 5 is really ancient, so I am not fully sure if an upgrade would work flawlessly.And is there anything I should/must watch out for when upgrading?
I had to zip the file due to character limits.Set log level to debug, manually trigger a rebuild and post the log.
I will check later today.@Blatchy
Sorry for the delay
The log seems fine to me, can you check if/home/nginx/domains/domain.com/public/styles/fonts/fa/fa-solid-900-man.woff2
does exist and is read & writable by the user running PHP?
No, transfonter.org doesn't work any longer.Should I do it again and keep it that way?
Configure pyftsubset and rebuild.what do you suggest?
I don't even know if pyftsubset is installed and possible on my managed server. What's the quickest way to find out? And what if it's not possible?Configure pyftsubset and rebuild.
We use essential cookies to make this site work, and optional cookies to enhance your experience.