Title: Null object reference?
Last modified: September 14, 2020

---

# Null object reference?

 *  Resolved [scott8035](https://wordpress.org/support/users/scott8035/)
 * (@scott8035)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/null-object-reference/)
 * Hi. I just recently started using Postmark for some of my clients, and there 
   have been a few times when I’ve received this error:
 * WordPress version 5.5.1
    Current theme: <custom> Current plugin: Postmark (Official)(
   version 1.13.3) PHP version 7.4.9 Error Details ============= An error of type
   E_ERROR was caused in line 457 of the file /var/www/staging.edenbooks.org/htdocs/
   wp-content/plugins/postmark-approved-wordpress-plugin/postmark.php. Error message:
   Uncaught Error: Call to a member function load_settings() on null in /var/www/
   staging.edenbooks.org/htdocs/wp-content/plugins/postmark-approved-wordpress-plugin/
   postmark.php:457 Stack trace: #0 /var/www/staging.edenbooks.org/htdocs/wp-includes/
   class-wp-hook.php(287): pm_upgrade_completed() #1 /var/www/staging.edenbooks.
   org/htdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() #2 /var/
   www/staging.edenbooks.org/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action()#
   3 /var/www/staging.edenbooks.org/htdocs/wp-admin/includes/class-plugin-upgrader.
   php(371): do_action() #4 /var/www/staging.edenbooks.org/htdocs/wp-admin/includes/
   ajax-actions.php(4451): Plugin_Upgrader->bulk_upgrade() #5 /var/www/staging.edenbooks.
   org/htdocs/wp-includes/class-wp-hook.php(287): wp_ajax_update_plugin() #6 /var/
   www/staging.edenbooks.org/htdocs/wp-includes/class-wp-hook.php(311): WP_Hook-
   >apply_filters() #7 /var/www/staging.edenbooks.org/htdocs/wp-includes/plugin.
   php(478): WP_Hook->do_action() #8 /var/www/staging.edenbook
 * Seems like there have been a few “gotcha” bugs lately, hope you can fix this 
   soon.
 * —scott

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Patrick Graham](https://wordpress.org/support/users/prileygraham/)
 * (@prileygraham)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/null-object-reference/#post-13405342)
 * Hi Scott,
 * Thanks for the report! The offending code was in a plugin upgrade completed callback
   function and is fixed as of the latest version. When upgrading to the latest 
   version 1.13.3, the old plugin upgrade completed callback would have been used,
   which is why this error still showed up for you. Future upgrades from v1.13.3
   to versions above 1.13.3 will not have this error.
 * Thanks!
 * Patrick

Viewing 1 replies (of 1 total)

The topic ‘Null object reference?’ is closed to new replies.

 * ![](https://ps.w.org/postmark-approved-wordpress-plugin/assets/icon.svg?rev=2721461)
 * [ActiveCampaign Postmark for Wordpress](https://wordpress.org/plugins/postmark-approved-wordpress-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/postmark-approved-wordpress-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/postmark-approved-wordpress-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/postmark-approved-wordpress-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/postmark-approved-wordpress-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/postmark-approved-wordpress-plugin/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Patrick Graham](https://wordpress.org/support/users/prileygraham/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/null-object-reference/#post-13405342)
 * Status: resolved