PHP Fatal error
-
Just installed the plugin, and this is what i got when refreshing the page.
2018/03/02 13:20:39 [error] 55111#0: *3387 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to a member function get() on null in /opt/bitnami/apps/[siteurl]/htdocs/wp-includes/query.php:28
Stack trace:
#0 /opt/bitnami/apps/[siteurl]/htdocs/wp-content/plugins/coursepress/2.0/include/coursepress/view/front/class-course.php(634): get_query_var(‘pagename’)
#1 /opt/bitnami/apps/[siteurl]/htdocs/wp-includes/class-wp-hook.php(286): CoursePress_View_Front_Course::remove_canonical(Object(WP_Query))
#2 /opt/bitnami/apps/[siteurl]/htdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#3 /opt/bitnami/apps/[siteurl]/htdocs/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
#4 /opt/bitnami/apps/[siteurl]/htdocs/wp-includes/class-wp-query.php(1634): do_action_ref_array(‘pre_get_posts’, Array)
#5 /opt/bitnami/apps/[siteurl]/htdocs/wp-includes/class-wp-query.php(3230): WP_Query->get_posts()
#6 /opt/bitnami/apps/reb” while reading response header from upstream, client: 185.159.124.150, server: [siteurl], request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/opt/bitnami/php/var/run/www.sock:”, host: “[siteurl]”, referrer: “[siteurl]/wp-admin/edit.php?post_type=course”
The topic ‘PHP Fatal error’ is closed to new replies.