Recent Topics

Fatal Error: Call to undefined . . .

started by on Oct 04, 2015 – Last touched: Oct 13, 2015

Oct 04, 2015 14:37    

I'm on the latest version. I have a link to a scheduling page with acuity scheduling. It looks like this:

<a href="https://app.acuityscheduling.com/schedule.php?owner=11392149&appointmentType=324423" class="btn btn-primary btn-lg btn-block active">Get on the Schedule Here</a>

i'm using the bootstrap theme.

I get this error:

Fatal error: Call to undefined method Item::update_read_timestamps() in /[...]/blog/inc/skins/_skin.funcs.php on line 108

when I just try to post the post.

What should I do?

Oct 04, 2015 14:43

Now I am not sure if it comes from there or here. I seem to have had the problem both ways:

<iframe src="https://app.acuityscheduling.com/schedule.php?owner=11392149&appointmentType=324423" width="100%" height="800" frameBorder="0"></iframe>
<script src="https://d3gxy7nm8y4yjr.cloudfront.net/js/embed.js" type="text/javascript"></script>

Oct 04, 2015 23:57

@drherz I can't relate that error with the code you included in the comments.

What type of post are you using? Are you able to publish the post if you get rid of the link you mentioned in your first comment?

Oct 09, 2015 23:53

Many FTP clients are very unreliable.

Everything here looks like some files (at least 1) have not been properly upgraded through FTP.

You should re-upload all files again AND *very important* verify that your FTP client doesn't report any upload errors.

Oct 10, 2015 22:35

Thanks, I'll give it a shot. I use FileZilla, and it's never given me a problem before.

Oct 10, 2015 23:35

In FileZilla, if you don't look explicitly for transfer errors, it will not warn you.

Oct 12, 2015 21:24

Here's the code from lines 104 through 110 in the file that Failure Notice seems to cite:

if( ! empty( $MainList ) && $MainList->single_post &&

            $single_Item = & mainlist_get_item() )
        {    // If we are currently viewing a single post
            // We assume the current user will have read the entire post and all its current comments:
            $single_Item->update_read_timestamps( true, true );
            // Restart the items list:
            $MainList->restart();

Oct 12, 2015 21:32

I went back just now, logged in again, and it works on my STW blog.

Oct 12, 2015 22:11

Works on the other one too. I don't know why it didn't before.

Oct 13, 2015 02:05

I know why it didn't before. Your files were not properly uploaded.

(and then maybe you had the error in the page cache for 10 minutes after your last successful upload).


Form is loading...

powered by b2evolution – This forum is powered by b2evolution CMS, a complete engine for your website.