Results 1 to 1 of 1

Thread: PHP Errors 2 Warnings: Attempt to read property

  1. #1
    Thread Starter
    Senior Member dutchman's Avatar
    Join Date
    Mar 2015
    Location
    New Zealand
    Posts
    158
    Thanks
    2
    Thanked 6 Times in 5 Posts

    PHP Errors 2 Warnings: Attempt to read property

    Gday dikiyforester,

    I have a site running, Vantage 4 with your plugin Sponsored Posts, on PHP8 and I recently got these warnings with Query Monitor:

    Warning1:

    Warning Attempt to read property "options" on null

    wp-content/plugins/dkf-sponsored-posts/inc/class-vantage4-support.php:60
    DKF_SP_Vantage4_Support->upgrade_listing_link()
    wp-content/plugins/dkf-sponsored-posts/inc/class-vantage4-support.php:49
    DKF_SP_Vantage4_Support->single_template_header()
    wp-includes/class-wp-hook.php:308
    do_action('va_single_template_header')
    wp-content/themes/appthemes-vantage/parts/content-cover.php:51
    load_template('wp-content/themes/appthemes-vantage/parts/content-cover.php')
    wp-includes/template.php:718
    locate_template()
    wp-includes/general-template.php:204
    get_template_part('parts/content','cover')
    wp-content/themes/appthemes-vantage/single.php:13
    load_template('wp-content/themes/appthemes-vantage/single.php')
    wp-content/themes/appthemes-vantage/wrapper.php:49


    And Warning 2:

    Warning Attempt to read property "charge" on null

    wp-content/plugins/dkf-sponsored-posts/inc/class-vantage4-support.php:60
    DKF_SP_Vantage4_Support->upgrade_listing_link()
    wp-content/plugins/dkf-sponsored-posts/inc/class-vantage4-support.php:49
    DKF_SP_Vantage4_Support->single_template_header()
    wp-includes/class-wp-hook.php:308
    do_action('va_single_template_header')
    wp-content/themes/appthemes-vantage/parts/content-cover.php:51
    load_template('wp-content/themes/appthemes-vantage/parts/content-cover.php')
    wp-includes/template.php:718
    locate_template()
    wp-includes/general-template.php:204
    get_template_part('parts/content','cover')
    wp-content/themes/appthemes-vantage/single.php:13
    load_template('wp-content/themes/appthemes-vantage/single.php')
    wp-content/themes/appthemes-vantage/wrapper.php:49

    Is there any way to fix this?

    Cheers,
    Ronald

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: August 27th, 2015, 05:38 AM
  2. One's read something about BlueHost and them closing your website. Please Read
    By cuso10 in forum ClassiPress General Discussion
    Replies: 8
    Last Post: June 22nd, 2013, 12:14 AM
  3. [SOLVED] Multiple 404 errors, fatal warnings and Dashboard disappeared
    By vickyj in forum Report Vantage Bugs (Legacy)
    Replies: 12
    Last Post: June 21st, 2013, 02:20 PM
  4. Search errors and warnings
    By ksraghavendra in forum Help Using ClassiPress
    Replies: 1
    Last Post: February 11th, 2011, 08:01 AM
  5. Replies: 4
    Last Post: September 17th, 2010, 03:01 PM