Close

Account

Documentation

Forum

Menu

PHP Fatal error: Call to undefined function jisAjax()

  • Post count: 20
    bogdanvelea
    February 24, 2017 at 12:31 am #23161

    Hello,

    In Webmastertools, at crawl errors, I have an error at http://bogdanvelea.ro/wp-content/themes/jphotolio_v457/

    “Googlebot couldn’t access the contents of this URL because the server had an internal error when trying to process the request. These errors tend to be with the server itself, not with the request.”

    On my server, when i access /public_html/wp-content/themes/jphotolio_v457/error_log i see a lot of errors: this is the last: “[24-Jan-2017 13:11:42 Europe/Helsinki] PHP Fatal error: Call to undefined function jisAjax() in /home/bogdanv1/public_html/wp-content/themes/jphotolio_v457/index.php on line 8”

    This is the index.php:

    <?php
    /**
    * this is last file that will execute if none of any file match with page defined
    * primary usage is for blog page
    *
    * @author Jegbagus
    */
    if(!jisAjax()) {
    get_header();
    } else {
    get_template_part(‘includes/page-common’);
    }

    $jdata->blogLayout = j_get_option(‘blog_layout’ , JEG_DEFAULT_LAYOUT);
    $jdata->blogSidebar = j_get_option(‘blog_sidebar’ , jegGenId(JEG_DEFAULT_SIDEBAR));
    $jdata->hideMeta = j_get_option(‘blog_hidemeta’ , 0);
    $jdata->excludeCategory = j_get_option(‘blog_exclude’ );
    $jdata->hideComment = j_get_option(‘blog_hide_comment’ , 0);

    query_posts(array(
    ‘category__not_in’ => $jdata->excludeCategory,
    ‘paged’ => get_query_var(‘paged’)
    ));

    get_template_part( “includes/page-template” );

    if(!jisAjax()) {
    get_footer();
    }

    I must say that I never changed any file on the server…

    What happened with theme from my website?

    Post count: 5808
    Adek
    February 24, 2017 at 2:01 am #23162

    Hi bogdanvelea,

    Can you provide me your site url, so i can try to replicate the error on my side. Previously i’ve try to visit this url http://bogdanvelea.ro/ but not working on my side.

    Also, it seems you’re using outdated version of JPhotolio, please try to use the latest version.

    Thank you

    Post count: 20
    bogdanvelea
    February 24, 2017 at 4:30 am #23168

    Yes, this is the website: http://bogdanvelea.ro/ (hosting: Romania)

    I have JPhotolioVersion: 4.5.7

    1. Tell me your IP country where you try to access my website (i must tell this to hosting provider that my website doesn’t loading in this country or that ip)

    2. I updated the theme to version 4.6.4

    Post count: 5808
    Adek
    February 27, 2017 at 1:44 am #23180

    Hi bogdanvelea,

    Yeah sure, this is my ip 110.136.231.196

    Thank you

    Post count: 20
    bogdanvelea
    February 27, 2017 at 3:37 am #23183

    Can you tell me what error message is displayed when you try to access my website (http://bogdanvelea.ro)?

    Post count: 5808
    Adek
    February 28, 2017 at 1:56 am #23192

    Hi bogdanvelea,

    I’ve been check your site previously and it’s just works fine on my side. Can you tell me more detail so i can replicate the problem as you said on above.

    Thank you

    Post count: 20
    bogdanvelea
    February 28, 2017 at 2:18 am #23193

    In 0:/public_html/wp-content/themes/jphotolio/error_log i see a lot of errors like this:

    [24-Feb-2017 06:59:38 Europe/Helsinki] PHP Fatal error: Call to undefined function jisAjax() in /home/bogdanv1/public_html/wp-content/themes/jphotolio/index.php on line 8
    [24-Feb-2017 13:17:38 Europe/Helsinki] PHP Fatal error: Call to undefined function jisAjax() in /home/bogdanv1/public_html/wp-content/themes/jphotolio/index.php on line 8
    [24-Feb-2017 19:17:36 Europe/Helsinki] PHP Fatal error: Call to undefined function jisAjax() in /home/bogdanv1/public_html/wp-content/themes/jphotolio/index.php on line 8
    [25-Feb-2017 01:46:26 Europe/Helsinki] PHP Fatal error: Call to undefined function jisAjax() in /home/bogdanv1/public_html/wp-content/themes/jphotolio/index.php on line 8
    [25-Feb-2017 02:46:12 Europe/Helsinki] PHP Fatal error: Call to undefined function jisAjax() in /home/bogdanv1/public_html/wp-content/themes/jphotolio/index.php on line 8
    [25-Feb-2017 07:46:22 Europe/Helsinki] PHP Fatal error: Call to undefined function jisAjax() in /home/bogdanv1/public_html/wp-content/themes/jphotolio/index.php on line 8

    Why?

    Post count: 5808
    Adek
    March 1, 2017 at 1:48 am #23200

    Hi bogdanvelea,

    I’m not quite sure on this thing, please try to update index.php with this code here http://pastebin.com/TcaugaUh. You can backup these file before going to make the changes.

    Thank you

You must be logged in to reply to this topic.