[AP] Style Suite

[AP] Style Suite [Paid] 2.14.0 Beta 2

No permission to buy (€15.00)
@oO5 Dynasty would you mind trying to re-download the ZIP again? I actually issued a fix for this very quickly after I released it, but I think Cloudflare was caching the old version of the zip. If it still doesnt work gimme a shout.
 
@oO5 Dynasty would you mind trying to re-download the ZIP again? I actually issued a fix for this very quickly after I released it, but I think Cloudflare was caching the old version of the zip. If it still doesnt work gimme a shout.
Web capture_15-7-2022_154912_user.oo5dynasty.com.jpegWeb capture_15-7-2022_154819_user.oo5dynasty.com.jpeg


This is what comes up now
Code:
TypeError: Argument 2 passed to XF\Db\SchemaManager::alterTable() must be an instance of Closure, array given, called in /home/customer/www/user.oo5dynasty.com/public_html/src/addons/apathy/StyleSuite/Setup.php on line 83 in src/XF/Db/SchemaManager.php at line 141
XF\Db\SchemaManager->alterTable() in src/addons/apathy/StyleSuite/Setup.php at line 83
apathy\StyleSuite\Setup->installStep2() in src/XF/AddOn/StepRunnerInstallTrait.php at line 62
apathy\StyleSuite\Setup->installStepRunner() in src/XF/AddOn/StepRunnerInstallTrait.php at line 29
apathy\StyleSuite\Setup->install() in src/XF/Admin/Controller/AddOn.php at line 419
XF\Admin\Controller\AddOn->actionInstall() in src/XF/Mvc/Dispatcher.php at line 352
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2353
XF\App->run() in src/XF.php at line 524
XF::runApp() in admin.php at line 13

I'll delete the files again and start over again.
 
@apathy I encountered a bug regarding styled profiles & @Matt C. 's AH Gamer Profiles add-on. When you click on the "Gamer Cards" tab in a profile now it re-opens the page in an iframe, and doesn't display the gamer profile cards from exophase like it's supposed to.
Possibly I need to do some checks for the response type. Dont think this is something you can work around yourself. I'll try get a fix into the next update (which I'm hoping will be out this weekend)
 
Getting this error when upgrading

Code:
Server error log
XF\PrintableException: Batch install error: Please enter a value using 90 characters or fewer. src/XF/Mvc/Entity/Entity.php:1218
Generated by: Jay Aug 11, 2022 at 2:30 PM
Stack trace
#0 src/addons/apathy/StyleSuite/Install/Upgrade2080070.php(108): XF\Mvc\Entity\Entity->save()
#1 src/addons/apathy/StyleSuite/Install/Upgrade2080070.php(71): apathy\StyleSuite\Setup->populatePostbitEntity()
#2 src/addons/apathy/StyleSuite/Setup.php(117): apathy\StyleSuite\Setup->postUpgrade2080070(2050070, Array)
#3 src/XF/AddOn/AddOn.php(595): apathy\StyleSuite\Setup->postUpgrade(2050070, Array)
#4 src/XF/Job/AddOnInstallBatch.php(380): XF\AddOn\AddOn->postUpgrade(Array)
#5 src/XF/Job/AddOnInstallBatch.php(99): XF\Job\AddOnInstallBatch->stepFinalize(Object(XF\Timer))
#6 src/XF/Job/Manager.php(260): XF\Job\AddOnInstallBatch->run(8)
#7 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#8 src/XF/Job/Manager.php(118): XF\Job\Manager->runJobEntry(Array, 8)
#9 src/XF/Admin/Controller/Tools.php(122): XF\Job\Manager->runByIds(Array, 8)
#10 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(NF\Discord\XF\Admin\Controller\Tools), NULL)
#12 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(NF\Discord\XF\Admin\Controller\Tools), NULL)
#13 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#15 src/XF.php(524): XF\App->run()
#16 admin.php(13): XF::runApp('XF\\Admin\\App')
#17 {main}
Request state
array(4) {
  ["url"] => string(24) "/admin.php?tools/run-job"
  ["referrer"] => string(48) "https://*********/admin.php?tools/run-job"
  ["_GET"] => array(1) {
    ["tools/run-job"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["_xfRedirect"] => string(84) "https://*********.io/admin.php?add-ons/install-from-archive-complete&batch_id=17"
    ["_xfToken"] => string(8) "********"
    ["only_ids"] => string(5) "76579"
  }
}
 
Last edited:
Getting this error when upgrading
Hey, looks like the error is being caused by some postbit BG image urls being longer than 90 characters.
We've made a dedicated entity for postbit styles instead of just dumping everything into blob columns on the User entity, so I'm going to PM you a build now where the limit has been raised to 200 and hopefully that'll be enough.
 
Hi @apathy ! I did discover two issues with 2.8.1: Upon upgrading, it deleted my custom postbit background image forcing me to re-upload. Also, it's not appearing to save postbit text color settings. It is stuck at how it was before the upgrade, and I can't change it. It shows the correct preview in style settings however.....

You still have an account on my site if you want to test it. :D

Thanks!!
 
Hi @apathy ! I did discover two issues with 2.8.1: Upon upgrading, it deleted my custom postbit background image forcing me to re-upload. Also, it's not appearing to save postbit text color settings. It is stuck at how it was before the upgrade, and I can't change it. It shows the correct preview in style settings however.....

You still have an account on my site if you want to test it. :D

Thanks!!
Your postbit BG image url was likely greater than 200 characters - before we were just stuffing things into blobs but we now have an actual entity for Postbits which means that strings (text basically) have to be a defined length. So assuming you were using a long URL previously then this is expected (200 chars would be a really long URL ftr)

I'll take a look at text color this evening, TY for letting me know.
 
Your postbit BG image url was likely greater than 200 characters - before we were just stuffing things into blobs but we now have an actual entity for Postbits which means that strings (text basically) have to be a defined length. So assuming you were using a long URL previously then this is expected (200 chars would be a really long URL ftr)

I'll take a look at text color this evening, TY for letting me know.
Okay gotcha. No worries.

Cool, thanks! :)
 
I'm getting this error:

Code:
InvalidArgumentException: Attempted to convert NULL to string/binary [background] in src/XF/Mvc/Entity/Entity.php at line 763
XF\Mvc\Entity\Entity->_castValueToType() in src/XF/Mvc/Entity/Entity.php at line 641
XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 743
XF\Mvc\Entity\Entity->bulkSet() in src/XF/Mvc/FormAction.php at line 36
XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 166
XF\Mvc\FormAction->run() in src/addons/apathy/StyleSuite/Pub/Controller/Styles.php at line 89
apathy\StyleSuite\Pub\Controller\Styles->actionIndex() in src/XF/Mvc/Dispatcher.php at line 352
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2352
XF\App->run() in src/XF.php at line 524
XF::runApp() in index.php at line 20
 
I'm getting this error:
Another admin reported this already so I actually have a fix written up ready to go - just have one more task to complete for the update before it gets moved to testing.

Ftr this is being caused by a user saving their postbit settings when A) they have the "Upload" background type selected, and B) they have not actually selected a file to upload (so it's trying to upload nothing). Other types should work as expected and even the Upload should work as expected if a file is actually selected.
 
Back
Top Bottom