Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter alanafarkaswp

    (@alanafarkaswp)

    @joedolson you were right! How did you know?

    Thanks. All fixed up now.

    Thread Starter alanafarkaswp

    (@alanafarkaswp)

    That seemed to do the trick! Thanks.

    Just for future reference, how would a person have known to make that change if not coming here and requesting support? Is it in release notes or something?

    Thanks again.

    Thread Starter alanafarkaswp

    (@alanafarkaswp)

    Sure, line 312 below:

    $reading_time = $readingTimeWP->rt_calculate_reading_time($related_post->ID, get_option('rt_reading_time_options') );

    Thread Starter alanafarkaswp

    (@alanafarkaswp)

    Thanks. I downloaded the error logs and pasted the output below. Probably kinda hard to read so I separated the errors as much as possible.

    **********************************************************************

    [Mon May 06 14:03:18.546181 2019] [php7:error] [pid 9499] [client 66.151.223.100:34651] PHP Fatal error: Uncaught Error: Call to a member function rt_calculate_reading_time() on null in /nas/content/live/thescriptstage/wp-content/themes/zocdoc/functions.php:312\nStack trace:\n#0 [internal function]: zocdoc_related_article_inject(‘<p>When it come…’)\n#1 /nas/content/live/thescriptstage/wp-includes/class-wp-hook.php(286): call_user_func_array(‘zocdoc_related_…’, Array)\n#2 /nas/content/live/thescriptstage/wp-includes/plugin.php(208): WP_Hook->apply_filters(‘<p>When it come…’, Array)\n#3 /nas/content/live/thescriptstage/wp-includes/post-template.php(247): apply_filters(‘the_content’, ‘<p>When it come…’)\n#4 /nas/content/live/thescriptstage/wp-content/themes/zocdoc/template-parts/content.php(109): the_content(‘Continue readin…’)\n#5 /nas/content/live/thescriptstage/wp-includes/template.php(706): require(‘/nas/content/li…’)\n#6 /nas/content/live/thescriptstage/wp-includes/template.php(653): load_template(‘/nas/content/li…’, false)\n#7 /nas/content/live/thescriptstage/wp-includes/general-template.php(157): locate in /nas/content/live/thescriptstage/wp-content/themes/zocdoc/functions.php on line 312, referer: https://thescriptstage.wpengine.com/

    **********************************************************************

    [Mon May 06 14:03:29.028811 2019] [php7:error] [pid 10321] [client 66.151.223.100:34815] PHP Fatal error: Uncaught Error: Call to a member function rt_calculate_reading_time() on null in /nas/content/live/thescriptstage/wp-content/themes/zocdoc/functions.php:312\nStack trace:\n#0 [internal function]: zocdoc_related_article_inject(‘<p>When it come…’)\n#1 /nas/content/live/thescriptstage/wp-includes/class-wp-hook.php(286): call_user_func_array(‘zocdoc_related_…’, Array)\n#2 /nas/content/live/thescriptstage/wp-includes/plugin.php(208): WP_Hook->apply_filters(‘<p>When it come…’, Array)\n#3 /nas/content/live/thescriptstage/wp-includes/formatting.php(3694): apply_filters(‘the_content’, ‘<p>When it come…’)\n#4 [internal function]: wp_trim_excerpt(‘<p>When it come…’)\n#5 /nas/content/live/thescriptstage/wp-includes/class-wp-hook.php(288): call_user_func_array(‘wp_trim_excerpt’, Array)\n#6 /nas/content/live/thescriptstage/wp-includes/plugin.php(208): WP_Hook->apply_filters(”, Array)\n#7 /nas/content/live/thescriptstage/wp-includes/post-template.php(412): apply_filters(‘get_the_excerpt’, ”, Object(WP_Post))\n#8 /nas/cont in /nas/content/live/thescriptstage/wp-content/themes/zocdoc/functions.php on line 312

    **********************************************************************

    [Mon May 06 14:03:34.084889 2019] [php7:error] [pid 12555] [client 66.151.223.100:34905] PHP Fatal error: Uncaught Error: Call to a member function rt_calculate_reading_time() on null in /nas/content/live/thescriptstage/wp-content/themes/zocdoc/functions.php:312\nStack trace:\n#0 [internal function]: zocdoc_related_article_inject(‘<p>When it come…’)\n#1 /nas/content/live/thescriptstage/wp-includes/class-wp-hook.php(286): call_user_func_array(‘zocdoc_related_…’, Array)\n#2 /nas/content/live/thescriptstage/wp-includes/plugin.php(208): WP_Hook->apply_filters(‘<p>When it come…’, Array)\n#3 /nas/content/live/thescriptstage/wp-includes/formatting.php(3694): apply_filters(‘the_content’, ‘<p>When it come…’)\n#4 [internal function]: wp_trim_excerpt(‘<p>When it come…’)\n#5 /nas/content/live/thescriptstage/wp-includes/class-wp-hook.php(288): call_user_func_array(‘wp_trim_excerpt’, Array)\n#6 /nas/content/live/thescriptstage/wp-includes/plugin.php(208): WP_Hook->apply_filters(”, Array)\n#7 /nas/content/live/thescriptstage/wp-includes/post-template.php(412): apply_filters(‘get_the_excerpt’, ”, Object(WP_Post))\n#8 /nas/cont in /nas/content/live/thescriptstage/wp-content/themes/zocdoc/functions.php on line 312, referer: https://thescriptstage.wpengine.com/

    **********************************************************************

    [Mon May 06 14:56:57.504772 2019] [php7:error] [pid 12894] [client 68.112.1.180:58109] PHP Fatal error: Uncaught Error: Call to a member function rt_calculate_reading_time() on null in /nas/content/live/thescriptstage/wp-content/themes/zocdoc/functions.php:312\nStack trace:\n#0 [internal function]: zocdoc_related_article_inject(‘<p>When it come…’)\n#1 /nas/content/live/thescriptstage/wp-includes/class-wp-hook.php(286): call_user_func_array(‘zocdoc_related_…’, Array)\n#2 /nas/content/live/thescriptstage/wp-includes/plugin.php(208): WP_Hook->apply_filters(‘<p>When it come…’, Array)\n#3 /nas/content/live/thescriptstage/wp-includes/formatting.php(3694): apply_filters(‘the_content’, ‘<p>When it come…’)\n#4 [internal function]: wp_trim_excerpt(‘<p>When it come…’)\n#5 /nas/content/live/thescriptstage/wp-includes/class-wp-hook.php(288): call_user_func_array(‘wp_trim_excerpt’, Array)\n#6 /nas/content/live/thescriptstage/wp-includes/plugin.php(208): WP_Hook->apply_filters(”, Array)\n#7 /nas/content/live/thescriptstage/wp-includes/post-template.php(412): apply_filters(‘get_the_excerpt’, ”, Object(WP_Post))\n#8 /nas/cont in /nas/content/live/thescriptstage/wp-content/themes/zocdoc/functions.php on line 312, referer: https://ww.wp.xz.cn/support/topic/500-server-error-after-update-to-version-2-0-4/

    **********************************************************************

    [Mon May 06 15:02:16.034587 2019] [php7:error] [pid 23616] [client 120.29.118.224:63837] PHP Fatal error: Uncaught Error: Call to a member function rt_calculate_reading_time() on null in /nas/content/live/thescriptstage/wp-content/themes/zocdoc/functions.php:312\nStack trace:\n#0 [internal function]: zocdoc_related_article_inject(‘<p>When it come…’)\n#1 /nas/content/live/thescriptstage/wp-includes/class-wp-hook.php(286): call_user_func_array(‘zocdoc_related_…’, Array)\n#2 /nas/content/live/thescriptstage/wp-includes/plugin.php(208): WP_Hook->apply_filters(‘<p>When it come…’, Array)\n#3 /nas/content/live/thescriptstage/wp-includes/formatting.php(3694): apply_filters(‘the_content’, ‘<p>When it come…’)\n#4 [internal function]: wp_trim_excerpt(‘<p>When it come…’)\n#5 /nas/content/live/thescriptstage/wp-includes/class-wp-hook.php(288): call_user_func_array(‘wp_trim_excerpt’, Array)\n#6 /nas/content/live/thescriptstage/wp-includes/plugin.php(208): WP_Hook->apply_filters(”, Array)\n#7 /nas/content/live/thescriptstage/wp-includes/post-template.php(412): apply_filters(‘get_the_excerpt’, ”, Object(WP_Post))\n#8 /nas/cont in /nas/content/live/thescriptstage/wp-content/themes/zocdoc/functions.php on line 312, referer: https://ww.wp.xz.cn/support/topic/500-server-error-after-update-to-version-2-0-4/

Viewing 4 replies - 1 through 4 (of 4 total)