LEDGrowForums
New member
I followed the instructions(https://xenforo.com/xf2-docs/manual/install-upgrade/#installing-xenforo), uploaded and began the installation procedure. During it I received an error listed below. I have located the problematic file (ThreadField.php) in the file manager, but it is not clear to me what needs to be changed in the "ThreadField.php" file.
Fatal error: Class 'XF\Repository\AbstractField' not found in /home/kln1yobwqu9t/public_html/ledgrowforums.com/Forums/src/XF/Repository/ThreadField.php on line 5
Here is the first several lines of the php file:
<?php
namespace XF\Repository;
class ThreadField extends AbstractField
{
protected function getRegistryKey()
{
return 'threadFieldsInfo';
}
protected function getClassIdentifier()
{
return 'XF:ThreadField';
}
public function getDisplayGroups()
{
return [
'before' => \XF:hrase('before_message'),
'after' => \XF:hrase('after_message'),
'thread_status' => \XF:hrase('thread_status_block')
Fatal error: Class 'XF\Repository\AbstractField' not found in /home/kln1yobwqu9t/public_html/ledgrowforums.com/Forums/src/XF/Repository/ThreadField.php on line 5
Here is the first several lines of the php file:
<?php
namespace XF\Repository;
class ThreadField extends AbstractField
{
protected function getRegistryKey()
{
return 'threadFieldsInfo';
}
protected function getClassIdentifier()
{
return 'XF:ThreadField';
}
public function getDisplayGroups()
{
return [
'before' => \XF:hrase('before_message'),
'after' => \XF:hrase('after_message'),
'thread_status' => \XF:hrase('thread_status_block')