• in include/jp_rss.php
    you need to change

    <?php
    /**
     * File Name: jp_rss.php
     * Description: Component for wpCareers wordpress plugin
     * @author Mohammad Forgani
     * @copyright Copyright 2010, Mohamad Forghanian
     * @version 1.0
     * @link http://www.forgani.com
     *
     * Last modified:  2010-05-27
     * Comments:
     */
    
    if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) {
    	die('You are not allowed to call this page directly.');
    }
    
    ob_start();
    $pageinfo = $wpcareers->get_pageinfo();

    To this:

    <?php
    /**
     * File Name: jp_rss.php
     * Description: Component for wpCareers wordpress plugin
     * @author Mohammad Forgani
     * @copyright Copyright 2010, Mohamad Forghanian
     * @version 1.0
     * @link http://www.forgani.com
     *
     * Last modified:  2010-05-27
     * Comments:
     */
    
    if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) {
    	die('You are not allowed to call this page directly.');
    }
    
    ob_start();
    global $wpcareers;//FIX
    $pageinfo = $wpcareers->get_pageinfo();

    http://wordpress.org/extend/plugins/wpcareers/

  • The topic ‘Fatal error on line 20, jp_rss.php’ is closed to new replies.