[Liam W.] Post Macros

[Liam W.] Post Macros 5.3.0 Fix 3

No permission to download
Got an error when installing the upgrade:

Code:
[LIST]
[*]ParseError: syntax error, unexpected '=>' (T_DOUBLE_ARROW)
[*]src/addons/LiamW/PostMacros/Finder/Macro.php:58
[*]Generated by: Russ
[*]Nov 12, 2023 at 3:44 PM
[/LIST]
[HEADING=2]Stack trace[/HEADING]
#0 src/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/pixelexit...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('LiamW\\PostMacro...')
#2 [internal function]: spl_autoload_call('LiamW\\PostMacro...')
#3 src/XF/Mvc/Entity/Manager.php(229): class_exists('LiamW\\PostMacro...')
#4 src/XF/App.php(2763): XF\Mvc\Entity\Manager->getFinder('LiamW\\PostMacro...')
#5 src/addons/LiamW/PostMacros/Permission/GlobalMacros.php(17): XF\App->finder('LiamW\\PostMacro...')
#6 src/XF/Permission/FlatContentPermissions.php(21): LiamW\PostMacros\Permission\GlobalMacros->getContentList()
#7 src/XF/Permission/AbstractContentPermissions.php(48): XF\Permission\FlatContentPermissions->setupBuildTypeData()
#8 src/XF/Permission/AbstractContentPermissions.php(21): XF\Permission\AbstractContentPermissions->setupBuildData()
#9 src/XF/Permission/Builder.php(116): XF\Permission\AbstractContentPermissions->__construct(Object(XF\Permission\Builder))
#10 src/XF/Permission/Builder.php(85): XF\Permission\Builder->getContentHandler('liamw_macros_gl...')
#11 src/XF/Permission/Builder.php(148): XF\Permission\Builder->getContentHandlers()
#12 src/XF/Permission/Builder.php(142): XF\Permission\Builder->rebuildCombinationContent(Object(XF\Entity\PermissionCombination), Array)
#13 src/XF/Job/PermissionRebuild.php(58): XF\Permission\Builder->rebuildCombination(Object(XF\Entity\PermissionCombination))
#14 src/XF/Job/Manager.php(260): XF\Job\PermissionRebuild->run(7.98985)
#15 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 7.98985)
#16 src/XF/Job/Manager.php(118): XF\Job\Manager->runJobEntry(Array, 7.98985)
#17 src/XF/Admin/Controller/Tools.php(122): XF\Job\Manager->runByIds(Array, 8)
#18 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#19 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#20 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#21 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#22 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#23 src/XF.php(524): XF\App->run()
#24 admin.php(13): XF::runApp('XF\\Admin\\App')
#25 {main}

Going to the macro page on the profile results in this:

Code:
ParseError: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in src/addons/LiamW/PostMacros/Finder/Macro.php at line 58
Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 428
Composer\Autoload\ClassLoader->loadClass()
spl_autoload_call()
class_exists() in src/XF/Mvc/Entity/Manager.php at line 229
XF\Mvc\Entity\Manager->getFinder() in src/XF/Mvc/Entity/Repository.php at line 35
XF\Mvc\Entity\Repository->finder() in src/addons/LiamW/PostMacros/Repository/Macro.php at line 146
LiamW\PostMacros\Repository\Macro->findActiveMacrosForList() in src/addons/LiamW/PostMacros/XF/Pub/Controller/Account.php at line 42
LiamW\PostMacros\XF\Pub\Controller\Account->actionMacrosActive() 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 index.php at line 20

Code:
ParseError: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in src/addons/LiamW/PostMacros/Finder/Macro.php at line 58
[LIST=1]
[*]Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 428
[*]Composer\Autoload\ClassLoader->loadClass()
[*]spl_autoload_call()
[*]class_exists() in src/XF/Mvc/Entity/Manager.php at line 229
[*]XF\Mvc\Entity\Manager->getFinder() in src/XF/Mvc/Entity/Repository.php at line 35
[*]XF\Mvc\Entity\Repository->finder() in src/addons/LiamW/PostMacros/Repository/Macro.php at line 146
[*]LiamW\PostMacros\Repository\Macro->findActiveMacrosForList() in src/addons/LiamW/PostMacros/XF/Pub/Controller/Account.php at line 42
[*]LiamW\PostMacros\XF\Pub\Controller\Account->actionMacrosActive() 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 index.php at line 20
[/LIST]
 
Got an error when installing the upgrade:

Code:
[LIST]
[*]ParseError: syntax error, unexpected '=>' (T_DOUBLE_ARROW)
[*]src/addons/LiamW/PostMacros/Finder/Macro.php:58
[*]Generated by: Russ
[*]Nov 12, 2023 at 3:44 PM
[/LIST]
[HEADING=2]Stack trace[/HEADING]
#0 src/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/pixelexit...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('LiamW\\PostMacro...')
#2 [internal function]: spl_autoload_call('LiamW\\PostMacro...')
#3 src/XF/Mvc/Entity/Manager.php(229): class_exists('LiamW\\PostMacro...')
#4 src/XF/App.php(2763): XF\Mvc\Entity\Manager->getFinder('LiamW\\PostMacro...')
#5 src/addons/LiamW/PostMacros/Permission/GlobalMacros.php(17): XF\App->finder('LiamW\\PostMacro...')
#6 src/XF/Permission/FlatContentPermissions.php(21): LiamW\PostMacros\Permission\GlobalMacros->getContentList()
#7 src/XF/Permission/AbstractContentPermissions.php(48): XF\Permission\FlatContentPermissions->setupBuildTypeData()
#8 src/XF/Permission/AbstractContentPermissions.php(21): XF\Permission\AbstractContentPermissions->setupBuildData()
#9 src/XF/Permission/Builder.php(116): XF\Permission\AbstractContentPermissions->__construct(Object(XF\Permission\Builder))
#10 src/XF/Permission/Builder.php(85): XF\Permission\Builder->getContentHandler('liamw_macros_gl...')
#11 src/XF/Permission/Builder.php(148): XF\Permission\Builder->getContentHandlers()
#12 src/XF/Permission/Builder.php(142): XF\Permission\Builder->rebuildCombinationContent(Object(XF\Entity\PermissionCombination), Array)
#13 src/XF/Job/PermissionRebuild.php(58): XF\Permission\Builder->rebuildCombination(Object(XF\Entity\PermissionCombination))
#14 src/XF/Job/Manager.php(260): XF\Job\PermissionRebuild->run(7.98985)
#15 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 7.98985)
#16 src/XF/Job/Manager.php(118): XF\Job\Manager->runJobEntry(Array, 7.98985)
#17 src/XF/Admin/Controller/Tools.php(122): XF\Job\Manager->runByIds(Array, 8)
#18 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#19 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#20 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#21 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#22 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#23 src/XF.php(524): XF\App->run()
#24 admin.php(13): XF::runApp('XF\\Admin\\App')
#25 {main}

Going to the macro page on the profile results in this:

Code:
ParseError: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in src/addons/LiamW/PostMacros/Finder/Macro.php at line 58
Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 428
Composer\Autoload\ClassLoader->loadClass()
spl_autoload_call()
class_exists() in src/XF/Mvc/Entity/Manager.php at line 229
XF\Mvc\Entity\Manager->getFinder() in src/XF/Mvc/Entity/Repository.php at line 35
XF\Mvc\Entity\Repository->finder() in src/addons/LiamW/PostMacros/Repository/Macro.php at line 146
LiamW\PostMacros\Repository\Macro->findActiveMacrosForList() in src/addons/LiamW/PostMacros/XF/Pub/Controller/Account.php at line 42
LiamW\PostMacros\XF\Pub\Controller\Account->actionMacrosActive() 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 index.php at line 20

Code:
ParseError: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in src/addons/LiamW/PostMacros/Finder/Macro.php at line 58
[LIST=1]
[*]Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 428
[*]Composer\Autoload\ClassLoader->loadClass()
[*]spl_autoload_call()
[*]class_exists() in src/XF/Mvc/Entity/Manager.php at line 229
[*]XF\Mvc\Entity\Manager->getFinder() in src/XF/Mvc/Entity/Repository.php at line 35
[*]XF\Mvc\Entity\Repository->finder() in src/addons/LiamW/PostMacros/Repository/Macro.php at line 146
[*]LiamW\PostMacros\Repository\Macro->findActiveMacrosForList() in src/addons/LiamW/PostMacros/XF/Pub/Controller/Account.php at line 42
[*]LiamW\PostMacros\XF\Pub\Controller\Account->actionMacrosActive() 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 index.php at line 20
[/LIST]
What's your PHP version?
 
Code:
Error: Call to undefined method XF\Mvc\Reply\Redirect::setParam() in src/addons/UW/FCS/Extend/Pub/Controller/Thread.php at line 72
UW\FCS\Extend\Pub\Controller\Thread->getNewPostsReplyInternal() in src/XF/Pub/Controller/Thread.php at line 711
XF\Pub\Controller\Thread->getNewPostsSinceDateReply() in src/XF/Pub/Controller/Thread.php at line 625
XF\Pub\Controller\Thread->actionAddReply() in src/addons/SV/CollaborativeThreads/XF/Pub/Controller/Thread.php at line 63
SV\CollaborativeThreads\XF\Pub\Controller\Thread->actionAddReply() in src/addons/AL/PostLimit/XF/Pub/Controller/Thread.php at line 13
AL\PostLimit\XF\Pub\Controller\Thread->actionAddReply() 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 2487
XF\App->run() in src/XF.php at line 524
XF::runApp() in index.php at line 20
i dont really understand what is source of the issue
 
Hello,

Code:
Error: Call to undefined method XF\Mvc\Reply\Redirect::setParam() in src/addons/UW/FCS/Extend/Pub/Controller/Thread.php at line 72
UW\FCS\Extend\Pub\Controller\Thread->getNewPostsReplyInternal() in src/XF/Pub/Controller/Thread.php at line 711
XF\Pub\Controller\Thread->getNewPostsSinceDateReply() in src/XF/Pub/Controller/Thread.php at line 625
XF\Pub\Controller\Thread->actionAddReply() in src/addons/SV/CollaborativeThreads/XF/Pub/Controller/Thread.php at line 63
SV\CollaborativeThreads\XF\Pub\Controller\Thread->actionAddReply() in src/addons/AL/PostLimit/XF/Pub/Controller/Thread.php at line 13
AL\PostLimit\XF\Pub\Controller\Thread->actionAddReply() 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 2487
XF\App->run() in src/XF.php at line 524
XF::runApp() in index.php at line 20
i dont really understand what is source of the issue
Please contact the developper of UW/FCS to have him look at this error ;)

Regards, CREUL-MODZ
 
Hi, im getting this error after last update

  • Error: Macro public:liamw_postmacros_macro_list_macros :: liamw_postmacros_macro_list_block() error: Call to a member function canUse() on null
  • src/addons/LiamW/PostMacros/Entity/Macro.php:160
 
Back
Top Bottom