douliudong8108 2016-09-22 04:15
浏览 48
已采纳

可捕获的致命错误 - Joomla组件 - FOR

I Newly Create Joomla Component using Framework on Framework. Administrator Section Working Fine. In Site Section Display Following Error. How to Resolve this Error.

Catchable fatal error: Argument 1 passed to FOFTable::setInput() must be an instance of FOFInput, instance of F0FInput given, called in /var/www/testjoomla/libraries/f0f/table/table.php on line 434 and defined in /var/www/testjoomla/libraries/fof/table/table.php on line 3236

in my Dispatcher code :

include_once JPATH_LIBRARIES.'/fof/include.php';
class GulfJobDispatcher extends FOFDispatcher
{
    public function onBeforeDispatch() {
        $result = parent::onBeforeDispatch();

        if($result) {
            // Load Akeeba Strapper
            include_once JPATH_ROOT.'/media/akeeba_strapper/strapper.php';
            AkeebaStrapper::bootstrap();
            AkeebaStrapper::jQueryUI();
            AkeebaStrapper::addCSSfile('media://com_gulfjob/css/frontend.css');
        }

        return $result;
    }
}
  • 写回答

1条回答 默认 最新

  • douji4223 2016-09-22 04:38
    关注

    change F0F to FOF in your Controller or Other Area

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 乌班图ip地址配置及远程SSH
  • ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
  • ¥15 PSPICE制作一个加法器
  • ¥15 javaweb项目无法正常跳转
  • ¥15 VMBox虚拟机无法访问
  • ¥15 skd显示找不到头文件
  • ¥15 机器视觉中图片中长度与真实长度的关系
  • ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
  • ¥15 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?