We duplicated our 1M posts forum to test the upgrade first in a test environment, the upgrade was completed smoothly using one click upgrade in admin panel, however, after we entered the admin panel we found the below server errors:
Code:
ErrorException: [E_NOTICE] stream_copy_to_stream(): Write of 1309929 bytes failed with errno=14 Bad address src/XF/Util/File.php:186
Generated by: Unknown account 16 Jul 2024 at 12:19 AM
Stack trace
#0 [internal function]: XF::handlePhpError(8, '[E_NOTICE] stre...', '/home/user/p...', 186)
#1 src/XF/Util/File.php(186): stream_copy_to_stream(Resource id #1132, Resource id #1133)
#2 src/XF/Util/File.php(195): XF\Util\File::copyStreamToTempFile(Resource id #1132, true)
#3 src/XF/Sitemap/Builder.php(319): XF\Util\File::copyAbstractedPathToTempFile('internal-data:/...')
#4 src/XF/Sitemap/Builder.php(289): XF\Sitemap\Builder->openFile()
#5 src/XF/Sitemap/Builder.php(227): XF\Sitemap\Builder->writeToFile(' <url><loc>http...')
#6 src/XF/Sitemap/Builder.php(201): XF\Sitemap\Builder->writeEntry(Object(XF\Sitemap\Entry))
#7 src/XF/Sitemap/Builder.php(149): XF\Sitemap\Builder->writeContentTypeData('node', 164, 4.9172)
#8 src/XF/Sitemap/Builder.php(84): XF\Sitemap\Builder->buildType('node', 4.9172)
#9 src/XF/Job/Sitemap.php(27): XF\Sitemap\Builder->build(4.9172)
#10 src/XF/Job/Manager.php(272): XF\Job\Sitemap->run(7.21634)
#11 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 7.21634)
#12 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 7.21634)
#13 job.php(43): XF\Job\Manager->runQueue(false, 8)
#14 {main}
Request state
array(4) {
["url"] => string(17) "/xf23test/job.php"
["referrer"] => string(41) "/xf23test/admin.php"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Code:
ErrorException: Fatal Error: Class XFRM\Entity\ResourceItem contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (XF\Entity\ContainableInterface::getContentContainerType) src/addons/XFRM/Entity/ResourceItem.php:84
Generated by: Unknown account 16 Jul 2024 at 12:21 AM
Stack trace
#0 [internal function]: XF::handleFatalError()
#1 {main}
Request state
array(4) {
["url"] => string(17) "/xf23test/job.php"
["referrer"] => string(41) "/xf23test/admin.php"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}