• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • Xenforo 2.2.13, PHP 8.2 combination

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Xenforo 2.2.13, PHP 8.2 combination

    • Issue Tools
      • View Changes
    1. issueid=6379 June 29, 2023 10:23 AM
      echelon echelon is offline
      New Member
      Xenforo 2.2.13, PHP 8.2 combination
      Issues with combination above

      I have got issue with fresh VaultWiki installation on Xenforo 2.2.13 with php 8.2.

      Something about allowdynamicproperties need to be explicitly enabled in php 8.2, so then I go ahead made small modification into .\upload\src\addons\vw\vw\_hard\core.php line 479 notably, so the mod looks like this :
      Code:
      			else
      			{
      				$instance = new $classname();
      			}
                              #[\AllowDynamicProperties]
      			$instance->vwClassId = self::unique_classid();
      
      			if ($always_instantiate)
      			{
      				return $instance;
      			}
      But now still stuck with two more error :
      Error: Class "vw_Hard_Core" not found in src/addons/vw/vw/Setup.php at line 124
      vw\vw\Setup->checkRequirements() in src/XF/AddOn/AddOn.php at line 457
      XF\AddOn\AddOn->checkRequirements() in src/XF/Job/AddOnInstallBatch.php at line 236
      XF\Job\AddOnInstallBatch->stepPreAction() in src/XF/Job/AddOnInstallBatch.php at line 87
      XF\Job\AddOnInstallBatch->run() in src/XF/Job/Manager.php at line 260
      XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 202
      XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 118
      XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 122
      XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 352
      XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 258
      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 admin.php at line 13
    Issue Details
    Issue Number 6379
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.1.7
    Fixed Version 4.1.8
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. June 29, 2023 12:38 PM
      pegasus pegasus is offline
      VaultWiki Team
      Neither XenForo nor VaultWiki have an official release that is fully compatible with PHP 8.2 yet (note this XenForo report not fully resolved yet https://xenforo.com/community/thread...issues.210360/). I would advise that you switch to PHP 8.1 for the time being. It would not be as simple as making 1 or 2 changes in key files to make the softwares run smoothly under PHP 8.2.

      Also, my understanding is that #[\AllowDynamicProperties] has to be placed in a different location in order to work how you expect. Possibly you have introduced a syntax error in the file you modified. Also you may need to reset your PHP opcache (typically by restarting the PHP process manager) if the file you modified was cached while the server was still saving your changes.

      EDIT: I have noticed that at least the $vwClassId errors are not visible in PHP 8.2 as long as XenForo's debug and development modes are turned off. They also are omitted from the logs.
      Reply Reply  
    2. June 29, 2023 2:17 PM
      echelon echelon is offline
      New Member
      Yes, never thought before PHP would make those such of breaking changes to previous code.

      I am being interested in version 8.2 specifically because of a benchmark was released by centminmod community regarding
      betterment of opcache performances in current newest version of php.

      This AllowDynamicProperties 'hack' also being removed in next php 9 if I am recall correctly, so it will becoming forbidden to do it in version 9.

      I might need to re-install my VPS before going too far with most probably 'wrong' choice.

      Will update this ticket once I have finished it. Thanks Pegasus.
      Reply Reply  
    3. June 29, 2023 8:04 PM
      echelon echelon is offline
      New Member
      Tested with PHP 8.1.20 now, but still getting 3 errors on fresh installation :

      Code:
      ErrorException: Automatic conversion of false to array is deprecated src/addons/vw/vw/_install/lib/full/steps/xf0.php:127
      
      #0 src/addons/vw/vw/_install/lib/full/steps/xf0.php(127): vw\vw\Setup\View->handle_php_error(8192, 'Automatic conve...', '/var/www/html/f...', 127)
      #1 src/addons/vw/vw/Setup.php(333): vw_Install_Full_Steps_Controller_XF0->{closure}(Object(vw\vw\Setup\Caller\Install), false)
      #2 src/addons/vw/vw/Setup.php(251): vw\vw\Setup->vwRunStep('install', Object(vw_Install_Full_Steps_Controller_XF2), Array, 6)
      #3 src/XF/Job/AddOnInstallBatch.php(295): vw\vw\Setup->install(Array)
      #4 src/XF/Job/AddOnInstallBatch.php(91): XF\Job\AddOnInstallBatch->stepAction(Object(XF\Timer))
      #5 src/XF/Job/Manager.php(260): XF\Job\AddOnInstallBatch->run(8)
      #6 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
      #7 src/XF/Job/Manager.php(118): XF\Job\Manager->runJobEntry(Array, 8)
      #8 src/XF/Admin/Controller/Tools.php(122): XF\Job\Manager->runByIds(Array, 8)
      #9 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
      #10 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
      #11 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
      #12 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #13 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
      #14 src/XF.php(524): XF\App->run()
      #15 admin.php(13): XF::runApp('XF\\Admin\\App')
      #16 {main}
      Code:
      ErrorException: Undefined array key "XF\BbCode\Parser" src/XF/Extension.php:258
      
      #0 src/XF/Extension.php(258): vw\vw\Setup\View->handle_php_error(2, 'Undefined array...', '/var/www/html/f...', 258)
      #1 src/addons/vw/vw/_core/model/parser/xf2.php(87): XF\Extension->removeClassExtensions('XF\\BbCode\\Parse...')
      #2 src/addons/vw/vw/_core/model/parser/xf2.php(23): vw_Parser_Model_XF2->create_default('link')
      #3 src/addons/vw/vw/_core/controller/dm/page/vw.php(1280): vw_Parser_Model_XF2->create('Link')
      #4 src/addons/vw/vw/_core/controller/dm/page/vw.php(951): vw_DM_Page_Controller->process_links()
      #5 src/addons/vw/vw/_core/controller/dm/page/vw.php(803): vw_DM_Page_Controller->process_revision()
      #6 src/addons/vw/vw/XF/Entity/EntityBase.php(513): vw_DM_Page_Controller->pre_save(true)
      #7 src/XF/Mvc/Entity/Entity.php(1366): vw\vw\XF\Entity\EntityBase->_preSave()
      #8 src/addons/vw/vw/XF/Entity/EntityBase.php(504): XF\Mvc\Entity\Entity->preSave()
      #9 src/addons/vw/vw/_core/controller/dm/xf2.php(387): vw\vw\XF\Entity\EntityBase->vwPreSave()
      #10 src/addons/vw/vw/_core/controller/dm/base/vw.php(956): vw_DM_Controller_XF2->pre_save(true)
      #11 src/addons/vw/vw/_core/controller/dm/area/vw.php(742): vw_DM_Base_Controller->internal_pre_save(Object(vw_DM_Controller_XF2), true)
      #12 src/addons/vw/vw/XF/Entity/EntityBase.php(513): vw_DM_Area_Controller->pre_save(true)
      #13 src/XF/Mvc/Entity/Entity.php(1366): vw\vw\XF\Entity\EntityBase->_preSave()
      #14 src/addons/vw/vw/XF/Entity/EntityBase.php(504): XF\Mvc\Entity\Entity->preSave()
      #15 src/addons/vw/vw/XF/Entity/EntityBase.php(571): vw\vw\XF\Entity\EntityBase->vwPreSave()
      #16 src/addons/vw/vw/_core/controller/dm/xf2.php(421): vw\vw\XF\Entity\EntityBase->vwSave()
      #17 src/addons/vw/vw/_install/lib/full/steps/vw.php(244): vw_DM_Controller_XF2->save()
      #18 src/addons/vw/vw/Setup.php(333): vw_Install_Full_Steps_Controller->{closure}(Object(vw\vw\Setup\Caller\Install), false)
      #19 src/addons/vw/vw/Setup.php(251): vw\vw\Setup->vwRunStep('install', Object(vw_Install_Full_Steps_Controller_XF2), Array, 9)
      #20 src/XF/Job/AddOnInstallBatch.php(295): vw\vw\Setup->install(Array)
      #21 src/XF/Job/AddOnInstallBatch.php(91): XF\Job\AddOnInstallBatch->stepAction(Object(XF\Timer))
      #22 src/XF/Job/Manager.php(260): XF\Job\AddOnInstallBatch->run(8)
      #23 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
      #24 src/XF/Job/Manager.php(118): XF\Job\Manager->runJobEntry(Array, 8)
      #25 src/XF/Admin/Controller/Tools.php(122): XF\Job\Manager->runByIds(Array, 8)
      #26 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
      #27 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
      #28 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
      #29 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #30 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
      #31 src/XF.php(524): XF\App->run()
      #32 admin.php(13): XF::runApp('XF\\Admin\\App')
      #33 {main}
      Code:
      ErrorException: Batch install error: Undefined array key "XF\BbCode\Parser" src/XF/Extension.php:258
      
      #0 src/XF/Extension.php(258): vw\vw\Setup\View->handle_php_error(2, 'Undefined array...', '/var/www/html/f...', 258)
      #1 src/addons/vw/vw/_core/model/parser/xf2.php(87): XF\Extension->removeClassExtensions('XF\\BbCode\\Parse...')
      #2 src/addons/vw/vw/_core/model/parser/xf2.php(23): vw_Parser_Model_XF2->create_default('link')
      #3 src/addons/vw/vw/_core/controller/dm/page/vw.php(1280): vw_Parser_Model_XF2->create('Link')
      #4 src/addons/vw/vw/_core/controller/dm/page/vw.php(951): vw_DM_Page_Controller->process_links()
      #5 src/addons/vw/vw/_core/controller/dm/page/vw.php(803): vw_DM_Page_Controller->process_revision()
      #6 src/addons/vw/vw/XF/Entity/EntityBase.php(513): vw_DM_Page_Controller->pre_save(true)
      #7 src/XF/Mvc/Entity/Entity.php(1366): vw\vw\XF\Entity\EntityBase->_preSave()
      #8 src/addons/vw/vw/XF/Entity/EntityBase.php(504): XF\Mvc\Entity\Entity->preSave()
      #9 src/addons/vw/vw/_core/controller/dm/xf2.php(387): vw\vw\XF\Entity\EntityBase->vwPreSave()
      #10 src/addons/vw/vw/_core/controller/dm/base/vw.php(956): vw_DM_Controller_XF2->pre_save(true)
      #11 src/addons/vw/vw/_core/controller/dm/area/vw.php(742): vw_DM_Base_Controller->internal_pre_save(Object(vw_DM_Controller_XF2), true)
      #12 src/addons/vw/vw/XF/Entity/EntityBase.php(513): vw_DM_Area_Controller->pre_save(true)
      #13 src/XF/Mvc/Entity/Entity.php(1366): vw\vw\XF\Entity\EntityBase->_preSave()
      #14 src/addons/vw/vw/XF/Entity/EntityBase.php(504): XF\Mvc\Entity\Entity->preSave()
      #15 src/addons/vw/vw/XF/Entity/EntityBase.php(571): vw\vw\XF\Entity\EntityBase->vwPreSave()
      #16 src/addons/vw/vw/_core/controller/dm/xf2.php(421): vw\vw\XF\Entity\EntityBase->vwSave()
      #17 src/addons/vw/vw/_install/lib/full/steps/vw.php(244): vw_DM_Controller_XF2->save()
      #18 src/addons/vw/vw/Setup.php(333): vw_Install_Full_Steps_Controller->{closure}(Object(vw\vw\Setup\Caller\Install), false)
      #19 src/addons/vw/vw/Setup.php(251): vw\vw\Setup->vwRunStep('install', Object(vw_Install_Full_Steps_Controller_XF2), Array, 9)
      #20 src/XF/Job/AddOnInstallBatch.php(295): vw\vw\Setup->install(Array)
      #21 src/XF/Job/AddOnInstallBatch.php(91): XF\Job\AddOnInstallBatch->stepAction(Object(XF\Timer))
      #22 src/XF/Job/Manager.php(260): XF\Job\AddOnInstallBatch->run(8)
      #23 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
      #24 src/XF/Job/Manager.php(118): XF\Job\Manager->runJobEntry(Array, 8)
      #25 src/XF/Admin/Controller/Tools.php(122): XF\Job\Manager->runByIds(Array, 8)
      #26 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
      #27 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
      #28 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
      #29 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #30 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
      #31 src/XF.php(524): XF\App->run()
      #32 admin.php(13): XF::runApp('XF\\Admin\\App')
      #33 {main}
      Reply Reply  
    4. June 30, 2023 9:11 AM
      echelon echelon is offline
      New Member
      pegasus,

      Please kindly help me out with temporary fixes or patches, I need to run vaultwiki as soon as possible,
      currently on tight budget and deadline for a project of mine.

      EDIT: I have noticed that at least the $vwClassId errors are not visible in PHP 8.2 as long as XenForo's debug and development modes are turned off. They also are omitted from the logs.
      But is it functionalities usable for xenforo vaultwiki running on php 8.2.x?, have you tried to test it out running it on fresh xenforo install?.

      Already spent hours migrating into php 8.1.x, I hope I don't need to downgrade anymore into php 8.0.x. Kind of like performances of php opcache in php 8.x.x!.
      Reply Reply  
    5. July 2, 2023 1:37 PM
      echelon echelon is offline
      New Member
      Installed php 8.0.29 but still getting error when fresh installing vaultwiki.

      One is at the start of this thread and another one is the same "XF\BbCode\Parser" error.

      Btw there are lot's of php opcache extension bugs in php 8.0.29!, especially opcache git related one.
      Never been encountered it on php 8.1 opcache.

      [EDIT]
      Getting the same "Error: Class 'vw_Hard_Core' not found in src/addons/vw/vw/Setup.php at line 124" error on also php 7.4.33
      Reply Reply  
    6. July 2, 2023 11:25 PM
      pegasus pegasus is offline
      VaultWiki Team
      It is logically impossible to get both the 'vw_Hard_Core' not found error, and the "XF\BbCode\Parser" error, at the same time. If 'vw_Hard_Core' is not found in that file, then you will never run the code that triggers the "XF\BbCode\Parser" error. I suspect you modified src/addons/vw/vw/_hard/core.php (as you suggested in your first post) and now you are getting the 'vw_Hard_Core' error instead. You should revert that file to the original version from the download.

      The "XF\BbCode\Parser" error was fixed in my test site using the file edit that I messaged you the first time you sent me the error. Please make sure you have applied that edit.

      For this error:
      Code:
      ErrorException: Automatic conversion of false to array is deprecated
      This will not happen if you turn off debug/development mode in your forum. It is not recommended to have development modes enabled while you install or upgrade VaultWiki (or any addon, unless you are writing the addon), because it can interrupt the process, execute development files instead of the packaged files, and potentially damage the installation.

      EDIT: I see that at least one of your errors mentions "Batch install". This might be partly causing your troubles because if it is the tool I think, then it is copying the files fresh every time you try. Since you need to make at least 1 file edit due to the XenForo bug, then you should not be using this "batch" tool. Instead you should be using the standard controls to install/update individual add-ons. If you are not familiar with the standard XenForo add-on controls, please follow the instructions here about how to access it: https://www.vaultwiki.org/pages/Help...or-XenForo-2-x
      Reply Reply  
    7. July 3, 2023 2:10 AM
      echelon echelon is offline
      New Member
      You are correct, after starting over with only your mentioned changes in PM finally I've got quite far now new error :

      ErrorException: Undefined array key "XF\BbCode\Renderer\Html" src/XF/Extension.php:258

      #0 src/XF/Extension.php(258): vw\vw\Setup\View->handle_php_error(2, 'Undefined array...', '/var/www/html/f...', 258)
      #1 src/addons/vw/vw/_core/model/parser/xf2.php(89): XF\Extension->removeClassExtensions('XF\\BbCode\\Rende...')
      #2 src/addons/vw/vw/_core/model/parser/xf2.php(23): vw_Parser_Model_XF2->create_default('link')
      #3 src/addons/vw/vw/_core/controller/dm/page/vw.php(1280): vw_Parser_Model_XF2->create('Link')
      #4 src/addons/vw/vw/_core/controller/dm/page/vw.php(951): vw_DM_Page_Controller->process_links()
      #5 src/addons/vw/vw/_core/controller/dm/page/vw.php(803): vw_DM_Page_Controller->process_revision()
      #6 src/addons/vw/vw/XF/Entity/EntityBase.php(513): vw_DM_Page_Controller->pre_save(true)
      #7 src/XF/Mvc/Entity/Entity.php(1366): vw\vw\XF\Entity\EntityBase->_preSave()
      #8 src/addons/vw/vw/XF/Entity/EntityBase.php(504): XF\Mvc\Entity\Entity->preSave()
      #9 src/addons/vw/vw/_core/controller/dm/xf2.php(387): vw\vw\XF\Entity\EntityBase->vwPreSave()
      #10 src/addons/vw/vw/_core/controller/dm/base/vw.php(956): vw_DM_Controller_XF2->pre_save(true)
      #11 src/addons/vw/vw/_core/controller/dm/area/vw.php(742): vw_DM_Base_Controller->internal_pre_save(Object(vw_DM_Controller_XF2), true)
      #12 src/addons/vw/vw/XF/Entity/EntityBase.php(513): vw_DM_Area_Controller->pre_save(true)
      #13 src/XF/Mvc/Entity/Entity.php(1366): vw\vw\XF\Entity\EntityBase->_preSave()
      #14 src/addons/vw/vw/XF/Entity/EntityBase.php(504): XF\Mvc\Entity\Entity->preSave()
      #15 src/addons/vw/vw/XF/Entity/EntityBase.php(571): vw\vw\XF\Entity\EntityBase->vwPreSave()
      #16 src/addons/vw/vw/_core/controller/dm/xf2.php(421): vw\vw\XF\Entity\EntityBase->vwSave()
      #17 src/addons/vw/vw/_install/lib/full/steps/vw.php(244): vw_DM_Controller_XF2->save()
      #18 src/addons/vw/vw/Setup.php(333): vw_Install_Full_Steps_Controller->{closure}(Object(vw\vw\Setup\Caller\Install), false)
      #19 src/addons/vw/vw/Setup.php(251): vw\vw\Setup->vwRunStep('install', Object(vw_Install_Full_Steps_Controller_XF2), Array, 9)
      #20 src/XF/Job/AddOnInstallBatch.php(295): vw\vw\Setup->install(Array)
      #21 src/XF/Job/AddOnInstallBatch.php(91): XF\Job\AddOnInstallBatch->stepAction(Object(XF\Timer))
      #22 src/XF/Job/Manager.php(260): XF\Job\AddOnInstallBatch->run(8)
      #23 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
      #24 src/XF/Job/Manager.php(118): XF\Job\Manager->runJobEntry(Array, 8)
      #25 src/XF/Admin/Controller/Tools.php(122): XF\Job\Manager->runByIds(Array, 8)
      #26 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
      #27 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
      #28 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
      #29 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #30 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
      #31 src/XF.php(524): XF\App->run()
      #32 admin.php(13): XF::runApp('XF\\Admin\\App')
      #33 {main}

      array(4) {
      ["url"] => string(24) "/admin.php?tools/run-job"
      ["referrer"] => string(50) "https://forum.site.tld/admin.php?tools/run-job"
      ["_GET"] => array(1) {
      ["tools/run-job"] => string(0) ""
      }
      ["_POST"] => array(3) {
      ["_xfRedirect"] => string(85) "https://forum.site.tld/admin.php?add-ons/install-from-archive-complete&batch_id=1"
      ["_xfToken"] => string(8) "********"
      ["only_ids"] => string(1) "6"
      }
      }
      So now I went back with php 8.0.x.

      This will not happen if you turn off debug/development mode in your forum. It is not recommended to have development modes enabled while you install or upgrade VaultWiki (or any addon, unless you are writing the addon), because it can interrupt the process, execute development files instead of the packaged files, and potentially damage the installation.
      Development mode is disabled for my xenforo test site. Also the php.ini that I have used is from the RockyLinux's php 8.0.x original distribution with some minor additions/edits.

      EDIT: I see that at least one of your errors mentions "Batch install". This might be partly causing your troubles because if it is the tool I think, then it is copying the files fresh every time you try. Since you need to make at least 1 file edit due to the XenForo bug, then you should not be using this "batch" tool. Instead you should be using the standard controls to install/update individual add-ons. If you are not familiar with the standard XenForo add-on controls, please follow the instructions here about how to access it
      Ok, I missed that specific manual install but still getting the same automatic install above, the same ErrorException: Undefined array key "XF\BbCode\Renderer\Html" src/XF/Extension.php:258 .

      But with different request state being logged :
      Code:
      array(4) {
        ["url"] => string(32) "/admin.php?add-ons/vw-vw/install"
        ["referrer"] => string(58) "https://forum.site.tld/admin.php?add-ons/vw-vw/install"
        ["_GET"] => array(1) {
          ["add-ons/vw-vw/install"] => string(0) ""
        }
        ["_POST"] => array(7) {
          ["_xfProcessing"] => string(1) "1"
          ["continue"] => string(1) "1"
          ["confirm"] => string(1) "1"
          ["params"] => string(10) "{"step":9}"
          ["count"] => string(1) "9"
          ["finished"] => string(1) "0"
          ["_xfToken"] => string(8) "********"
        }
      }
      Reply Reply  
    8. This petition for a change to Fixed was accepted
      July 3, 2023 3:01 AM
      echelon echelon is offline
      New Member
      The snippet code that you were previously mentioned in PM is having a little typos,
      Should be :

      Code:
      			foreach ($parserExts AS $xfParser => $vwParser)
      			{
      				if ($xfParser2 != $xfParser)
      				{
      					$extension->removeClassExtensions($xfParser);
      				}
      
      				$extension->addClassExtension($xfParser, $vwParser);
      			}
      Thanks man now it works!
       
    9. July 3, 2023 10:32 AM
      pegasus pegasus is offline
      VaultWiki Team
      Ah, I see what you mean. The code I gave only works for the first class in the list. Thanks, so I will include this change in the package now so at least the installer works again on XenForo 2.2.13.
      Reply Reply  
    10. July 3, 2023 10:48 AM
      echelon echelon is offline
      New Member
      Just a guess .

      Still developing my site, never regret purchased VaultWiki so far.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 6:24 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.