• Resolved dpendleton

    (@dpendleton)


    Elementor Pro Version 2.0.9 (Elementor 2.0.14)
    Nested Pages Version 3.0.1

    Getting the following error, any ideas?

    Fatal error: Uncaught TypeError: Argument 2 passed to Elementor\TemplateLibrary\Source_Local::post_row_actions() must be an instance of WP_Post, instance of stdClass given, called in /home/mysite/public_html/wp-includes/class-wp-hook.php on line 286 and defined in /home/mysite/public_html/wp-content/plugins/elementor/includes/template-library/sources/local.php:856 Stack trace: #0 /home/mysite/public_html/wp-includes/class-wp-hook.php(286): Elementor\TemplateLibrary\Source_Local->post_row_actions(Array, Object(stdClass)) #1 /home/mysite/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #2 /home/mysite/public_html/wp-content/plugins/wp-nested-pages/app/Entities/Listing/Listing.php(242): apply_filters(‘post_row_action…’, Array, Object(stdClass)) #3 /home/mysite/public_html/wp-content/plugins/wp-nested-pages/app/Views/partials/row.php(85): NestedPages\Entities\Listing\Listing->rowActions(false) #4 /home/mysite/public_html/wp-content/plugins/wp-nested-pages/app/Entities/Listing/Listi in /home/mysite/public_html/wp-content/plugins/elementor/includes/template-library/sources/local.php on line 856

    Thanks,

    Dan

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kyle Phillips

    (@kylephillips)

    I will push an update ASAP, but in the meantime, if you have access to the plugin files, the following fix should clear this up:

    On line 29 of app/Entities/Post/PostDataFactory, change to the following: (See line 29)

    Old line:
    $this->post_data = new \stdClass();

    New line:
    $this->post_data = new \WP_Post($post);

    • This reply was modified 6 years, 10 months ago by Kyle Phillips.
    Thread Starter dpendleton

    (@dpendleton)

    No worries, I can wait for the update. Thanks!

    Dan

    Thread Starter dpendleton

    (@dpendleton)

    Man, that was fixed fast! Thank so much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error with Elementor’ is closed to new replies.