[AP] Style Suite

[AP] Style Suite [Paid] 2.13.7

No permission to buy (€15.00)
what could be causing this error?



Code:
ErrorException: [E_WARNING] Undefined array key "style" src/addons/apathy/StyleSuite/Template/TemplaterSetup.php:202
Generated by: Unknown account Oct 14, 2024 at 5:33 PM
Stack trace
#0 src/addons/apathy/StyleSuite/Template/TemplaterSetup.php(202): XF::handlePhpError(2, '[E_WARNING] Und...', '/www/wwwroot/fo...', 202)
#1 src/addons/apathy/StyleSuite/XF/Template/Templater.php(41): apathy\StyleSuite\Template\TemplaterSetup::fnUsernameIcon(Object(SV\LazyImageLoader\XF\Template\Templater), false, Object(XenSoluce\SEOOptimization\XF\Entity\User), '', Array)
#2 src/XF/Template/Templater.php(1220): apathy\StyleSuite\XF\Template\Templater->fnUsernameLink(Object(SV\LazyImageLoader\XF\Template\Templater), false, Object(XenSoluce\SEOOptimization\XF\Entity\User), true)
#3 src/addons/MMO/TaggedUsers/XF/BbCode/Renderer/Html.php(25): XF\Template\Templater->func('username_link', Array)
#4 src/XF/BbCode/Renderer/Html.php(349): MMO\TaggedUsers\XF\BbCode\Renderer\Html->renderTagUser(Array, '1958', Array, Array, Object(SV\LazyImageLoader\XF\BbCode\Renderer\Html))
#5 src/addons/s9e/MediaSites/XF/BbCode/Renderer/Html.php(17): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#6 src/XF/BbCode/Traverser.php(63): s9e\MediaSites\XF\BbCode\Renderer\Html->renderTag(Array, Array)
#7 src/XF/BbCode/Traverser.php(39): XF\BbCode\Traverser->renderSubTree(Array, Array)
#8 src/XF/BbCode/Traverser.php(22): XF\BbCode\Traverser->renderAst(Array, Object(XF\BbCode\RuleSet), Array)
#9 src/XF/Pub/View/FeedHelper.php(121): XF\BbCode\Traverser->render('El mes pasado [...', Object(XF\BbCode\Parser), Object(XF\BbCode\RuleSet), Array)
#10 src/XF/Pub/View/Forum/Rss.php(72): XF\Pub\View\FeedHelper::setupEntryForThread(Object(Laminas\Feed\Writer\Entry), Object(TickTackk\SignatureOnce\XF\Entity\Thread))
#11 src/XF/Pub/View/Forum/Rss.php(31): XF\Pub\View\Forum\Rss->createEntry(Object(Laminas\Feed\Writer\Feed), Object(TickTackk\SignatureOnce\XF\Entity\Thread), 'last_post_date')
#12 src/XF/Mvc/Renderer/AbstractRenderer.php(92): XF\Pub\View\Forum\Rss->renderRss()
#13 src/XF/Mvc/Renderer/Xml.php(72): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Forum\\Rss', '', Array)
#14 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Xml->renderView('XF:Forum\\Rss', '', Array)
#15 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Rss), Object(XF\Mvc\Reply\View))
#16 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Rss), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'rss')
#18 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#19 src/XF.php(806): XF\App->run()
#20 index.php(23): XF::runApp('XF\\Pub\\App')
#21 {main}
Request state
array(4) {
  ["url"] => string(17) "/foro/-/index.rss"
  ["referrer"] => string(37) "https://90millas.net/foro/-/index.rss"
  ["_GET"] => array(1) {
    ["/foro/-/index_rss"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
Hey @apathy

Upgraded from 2.12.X to 2.13 and user registrations broke. Also plenty of console errors so ended up removing it entirely due to a multitude of errors, hope you can have a look.


  • XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'ap_ss_disable_animated_glows' in 'INSERT INTO'
  • src/XF/Db/AbstractStatement.php:230
  • Generated by: Unknown account
  • Dec 4, 2024 at 8:53 PM

Stack trace​

INSERT INTO xf_user_option (content_show_signature, show_dob_year, show_dob_date, receive_admin_email, email_on_conversation, push_on_conversation, creation_watch_state, interaction_watch_state, sv_prompt_on_mark_read, sv_alerts_popup_read_behavior, sv_alerts_page_skips_summarize, sv_alerts_summarize_threshold, user_id, is_discouraged, alert_optout, push_optout, use_tfa, sv_alert_pref, xa_cas_show_item_indicator, xa_cas_layout_type, dcom_lc_com_content_conv, dcom_lc_com_content_thread, dcom_lc_reply_sticky, dcom_lc_notify, dcom_lc_notify_extra, dcom_lc_style_convers, ozzmodz_badges_email_on_award, ap_ss_disable_user_styles, ap_ss_disable_animated_glows) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(207): XF\Db\AbstractStatement->getException('MySQL statement...', 1054, '42S22')
#1 src/XF/Db/Mysqli/Statement.php(43): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1054, '42S22')
#2 src/XF/Db/Mysqli/Statement.php(61): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(96): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(219): XF\Db\AbstractAdapter->query('INSERT INTO `x...', Array)
#5 src/XF/Mvc/Entity/Entity.php(1570): XF\Db\AbstractAdapter->insert('xf_user_option', Array, false)
#6 src/XF/Mvc/Entity/Entity.php(1300): XF\Mvc\Entity\Entity->_saveToSource()
#7 src/XF/Mvc/Entity/Entity.php(1318): XF\Mvc\Entity\Entity->save(true, false)
#8 src/XF/Service/User/RegistrationService.php(320): XF\Mvc\Entity\Entity->save()
#9 src/XF/Service/ValidateAndSavableTrait.php(42): XF\Service\User\RegistrationService->_save()
#10 src/XF/Pub/Controller/RegisterController.php(451): XF\Service\User\RegistrationService->save()
#11 src/addons/ThemeHouse/Monetize/XF/Pub/Controller/Register.php(59): XF\Pub\Controller\RegisterController->actionRegister()
#12 src/XF/Mvc/Dispatcher.php(362): ThemeHouse\Monetize\XF\Pub\Controller\Register->actionRegister(Object(XF\Mvc\ParameterBag))
#13 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Register', 'Register', Object(XF\Mvc\RouteMatch), Object(ThemeHouse\Monetize\XF\Pub\Controller\Register), NULL)
#14 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(ThemeHouse\Monetize\XF\Pub\Controller\Register), NULL)
#15 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#16 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#17 src/XF.php(806): XF\App->run()
#18 index.php(23): XF::runApp('XF\\Pub\\App')
#19 {main}

Request state​

array(4) {
["url"] => string(18) "/register/register"
["referrer"] => string(44) "https://mysite.com/register/"
["_GET"] => array(1) {
["/register/register"] => string(0) ""
}
["_POST"] => array(14) {
["_xfToken"] => string(8) "********"
["username"] => string(0) ""
["a1dbdef206996d7d801edc8156a79f4a56ea72a1"] => string(6) "bobbob"
["ab1745d5db8e0f45e6657ff093872c449b1843c3"] => string(0) ""
["4709ba28c0b6dbee428c1faa6909bf70be2fa198"] => string(11) "bob@bob.com"
["77df6fa081cdf40998c926669f6a0600cbb42cdc"] => string(8) "********"
["custom_fields"] => array(2) {
["corvette"] => string(0) ""
["ccf_location_prov_st"] => string(0) ""
}
["cf-turnstile-response"] => string(880) "0.5XaWgkYzCxBxS5OHzmm8iERy9D9lgpm2_VKBbrtruWpcJUkSS4KumnqDGJD6H5KNXoFTFmjRHgXsz05Y8BzJ15dL9790C2p2BVb2dLsMMLGTwT0hJxoon6pIf-rPVm20zCrOC6B3xq_gEnwsqAc2vQS07Y2DnEqHJOGqLYnQL1NsNSdLXr9mnCRYvLVzZo___v9UXvp3-TaSaXuEzuW7kPj9ZbblzyTkUhhdvLX_MNqbT4_iid0vFd5pX6a-MmoCB04W3gIQlPrmy9W8NEImyaLGtY8SRu9RAL1-azmspIiHbIdS4HUKjZQ6-9LSOdspAXIEhYLdlVm7RD91JmsKT0BmUARMfZkB0UsYzJ2Mh1clbN-_vmDdfONi9rCcAEdctntQY6ekm9F8S0qYCI5NmsFvBHtRo6fDKIYvf7_KpkilwhRNewe-K25A08ejmlY5BC5ka8BtPvi4NwGJUb8UKDcAPb70xGDq2KnTNvJbiQKtejHRMkqW8hKZfYqIFrkZ81aVfBYD7yO8Lb4P8SOQjQ6VkLSE4JSmfbedYb9GY3yI5IkFGMLFfXMR5x5DyJCgY97I0C8wji-FoCCym3cc3aoRldtZ_amBAHTWad2Nbq9dIkdggxX3rZSb5_TbFzYEE6V95DjwGS_7cNAO1FtwECstNu7lI-Oh-B5iR_gMhlKWH0aQcMRwKHdKNpvU-6nbak6WkIK2CH5BNVqDFA8NFQpGOOufnrTuWcD6me9Q1Jju79Bj_a8ca_EDTlC_zOXafCN_qHS4OwXf-9K2gJ798Q.n1HTsBN8JpoWiC_Ws4tNuQ.7904c293996d5915ed64060cc2862fb165c8bd9759436f66f3394f9261cb2a90"
["accept"] => string(1) "1"
["reg_key"] => string(16) "TrvqAJ5CnDBEt8Kd"
["088cf423deda3d6e2db5223157ed95687d6aff0b"] => string(19) "America/Los_Angeles"
["_xfResponseType"] => string(4) "json"
["_xfWithData"] => string(1) "1"
["_xfRequestUri"] => string(10) "/register/"
}
}

Also none of the tabs in style settings work, console shows these errors:

Uncaught TypeError: Cannot read properties of null (reading 'style')
at b.setDisable (PostStyle.min.js?_v=5fb1678c:1:328)
at StylePreview.min.js?_v=5fb1678c:2:140
at NodeList.forEach (<anonymous>)
at b.init (StylePreview.min.js?_v=5fb1678c:1:479)
at c (core-compiled.js?_v=5fb1678c:192:444)
at b (core-compiled.js?_v=5fb1678c:193:141)
at NodeList.forEach (<anonymous>)
at Object.initialize (core-compiled.js?_v=5fb1678c:194:205)
at Object.activate (core-compiled.js?_v=5fb1678c:44:193)
at onPageLoad (core-compiled.js?_v=5fb1678c:19:412)
 
Last edited:
Hey @apathy

Upgraded from 2.12.X to 2.13 and user registrations broke. Also plenty of console errors so ended up removing it entirely due to a multitude of errors, hope you can have a look.
The first error is complaining about a missing database column and should be an easy fix, I'll test 2.12.X -> 2.13.4 to see if any other errors pop up and get a hotfix out soon.

As for now, I've no idea what would be causing the JS issue. 2.12.0 was style suites XF2.3 compatibility update and i don't believe there's been any changes to the JS since.

So I guess the best thing to do here is just take it one step at a time, I'll get the hotfix update out and if you're still having JS trouble after that then I can begin investigating it properly
 
The first error is complaining about a missing database column and should be an easy fix, I'll test 2.12.X -> 2.13.4 to see if any other errors pop up and get a hotfix out soon.

As for now, I've no idea what would be causing the JS issue. 2.12.0 was style suites XF2.3 compatibility update and i don't believe there's been any changes to the JS since.

So I guess the best thing to do here is just take it one step at a time, I'll get the hotfix update out and if you're still having JS trouble after that then I can begin investigating it properly

Thanks. Ping here when it's ready, I've uninstalled it so will start from scratch.
 
The first error is complaining about a missing database column and should be an easy fix, I'll test 2.12.X -> 2.13.4 to see if any other errors pop up and get a hotfix out soon.

As for now, I've no idea what would be causing the JS issue. 2.12.0 was style suites XF2.3 compatibility update and i don't believe there's been any changes to the JS since.

So I guess the best thing to do here is just take it one step at a time, I'll get the hotfix update out and if you're still having JS trouble after that then I can begin investigating it properly

Hey @apathy was the hotfix done? I can try this again. Unfortunately ended up uninstalling it so will be a fresh install now.
 
Hey @apathy was the hotfix done? I can try this again. Unfortunately ended up uninstalling it so will be a fresh install now.
Not yet, I'll be sitting down to do it tomorrow afternoon.
In the meantime you could try a fresh install of 2.13.6, it looks like the "ap_ss_disable_animated_glows" column only fails to set up during an upgrade
 
Not yet, I'll be sitting down to do it tomorrow afternoon.
In the meantime you could try a fresh install of 2.13.6, it looks like the "ap_ss_disable_animated_glows" column only fails to set up during an upgrade

Sure, will do, any known issues with this release?
 
OK here we go...

Fresh install, got a few of the below:

  • Error: Call to undefined method apathy\StyleSuite\Repository\UserStyleRepository::rebuildUserStyleCacheCache()
  • src/addons/apathy/StyleSuite/Listener.php:94
  • Generated by: Unknown account
  • Dec 7, 2024 at 3:51 PM

Stack trace​

#0 src/XF/App.php(2182): apathy\StyleSuite\Listener::apathy\StyleSuite\{closure}(Object(XF\Container), 'apSsCustomTitle...')
#1 src/XF/Container.php(33): XF\App->XF\{closure}(Object(XF\Container))
#2 src/XF/App.php(3884): XF\Container->offsetGet('ap.userStyleCus...')
#3 src/addons/apathy/StyleSuite/XF/CssRenderer.php(31): XF\App->container('ap.userStyleCus...')
#4 src/addons/OzzModz/Badges/XF/CssRenderer.php(9): apathy\StyleSuite\XF\CssRenderer->getRenderParams()
#5 src/addons/OzzModz/VerificationBadges/XF/CssRenderer.php(9): OzzModz\Badges\XF\CssRenderer->getRenderParams()
#6 src/XF/CssRenderer.php(259): OzzModz\VerificationBadges\XF\CssRenderer->getRenderParams()
#7 src/XF/CssRenderer.php(135): XF\CssRenderer->renderTemplates(Array, Array, Array)
#8 src/XF/CssWriter.php(60): XF\CssRenderer->render(Array)
#9 css.php(32): XF\CssWriter->run(Array, 0, 1, '5139ccef6ba50ba...')
#10 {main}

Request state​

array(4) {
["url"] => string(105) "/css.php?css=public%3Aozzmodz_badges.less&s=0&l=1&d=1733615478&k=5139ccef6ba50ba713b3f221de0a547fa6051bde"
["referrer"] => string(58) "https://mysite.com/admin.php?tools/run-job"
["_GET"] => array(5) {
["css"] => string(26) "public:ozzmodz_badges.less"
["s"] => string(1) "0"
["l"] => string(1) "1"
["d"] => string(10) "1733615478"
["k"] => string(40) "5139ccef6ba50ba713b3f221de0a547fa6051bde"
}
["_POST"] => array(0) {
}
}
 
OK here we go...

Fresh install, got a few of the below:

  • Error: Call to undefined method apathy\StyleSuite\Repository\UserStyleRepository::rebuildUserStyleCacheCache()
  • src/addons/apathy/StyleSuite/Listener.php:94
  • Generated by: Unknown account
  • Dec 7, 2024 at 3:51 PM

Stack trace​

#0 src/XF/App.php(2182): apathy\StyleSuite\Listener::apathy\StyleSuite\{closure}(Object(XF\Container), 'apSsCustomTitle...')
#1 src/XF/Container.php(33): XF\App->XF\{closure}(Object(XF\Container))
#2 src/XF/App.php(3884): XF\Container->offsetGet('ap.userStyleCus...')
#3 src/addons/apathy/StyleSuite/XF/CssRenderer.php(31): XF\App->container('ap.userStyleCus...')
#4 src/addons/OzzModz/Badges/XF/CssRenderer.php(9): apathy\StyleSuite\XF\CssRenderer->getRenderParams()
#5 src/addons/OzzModz/VerificationBadges/XF/CssRenderer.php(9): OzzModz\Badges\XF\CssRenderer->getRenderParams()
#6 src/XF/CssRenderer.php(259): OzzModz\VerificationBadges\XF\CssRenderer->getRenderParams()
#7 src/XF/CssRenderer.php(135): XF\CssRenderer->renderTemplates(Array, Array, Array)
#8 src/XF/CssWriter.php(60): XF\CssRenderer->render(Array)
#9 css.php(32): XF\CssWriter->run(Array, 0, 1, '5139ccef6ba50ba...')
#10 {main}

Request state​

array(4) {
["url"] => string(105) "/css.php?css=public%3Aozzmodz_badges.less&s=0&l=1&d=1733615478&k=5139ccef6ba50ba713b3f221de0a547fa6051bde"
["referrer"] => string(58) "https://mysite.com/admin.php?tools/run-job"
["_GET"] => array(5) {
["css"] => string(26) "public:ozzmodz_badges.less"
["s"] => string(1) "0"
["l"] => string(1) "1"
["d"] => string(10) "1733615478"
["k"] => string(40) "5139ccef6ba50ba713b3f221de0a547fa6051bde"
}
["_POST"] => array(0) {
}
}
Your still xen 2.1 yes? Latest is for 2.3
 
I am still receiving this in the console and tabs are unusable in Chrome and Edge under Style Settings for 90% of the time all tab contents are exploded on a single page. Using default style. One time out of 10 they worked so not sure what's going on there. @apathy

Uncaught TypeError: Cannot read properties of null (reading 'style')
at b.setDisable (PostStyle.min.js?_v=8605500a:1:328)
at StylePreview.min.js?_v=8605500a:2:140
at NodeList.forEach (<anonymous>)
at b.init (StylePreview.min.js?_v=8605500a:1:479)
at c (core-compiled.js?_v=8605500a:192:444)
at b (core-compiled.js?_v=8605500a:193:141)
at NodeList.forEach (<anonymous>)
at Object.initialize (core-compiled.js?_v=8605500a:194:205)
at Object.activate (core-compiled.js?_v=8605500a:44:193)
at onPageLoad (core-compiled.js?_v=8605500a:19:412)
 
Last edited:
Back
Top Bottom