• Resolved admin0x01

    (@admin0x01)


    Fatal error: Uncaught Error: Call to a member function getAttribute() on null in /var/www/site.com/htdocs/wp-content/plugins/specific-content-for-mobile/admin/scfm-admin.php:462 Stack trace: #0 /var/www/site.com/htdocs/wp-content/plugins/specific-content-for-mobile/admin/scfm-admin.php(399): eos_scfm_pro_synchronize_changes(165, Array) #1 /var/www/site.com/htdocs/wp-includes/class-wp-hook.php(288): eos_scfm_check_diffs_on_save(165, Object(WP_Post), Object(WP_Post)) #2 /var/www/site.com/htdocs/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #3 /var/www/site.com/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /var/www/site.com/htdocs/wp-includes/post.php(4094): do_action('post_updated', 165, Object(WP_Post), Object(WP_Post)) #5 /var/www/site.com/htdocs/wp-includes/post.php(4197): wp_insert_post(Array, false) #6 /var/www/site.com/htdocs/wp-admin/includes/post.php(407): wp_update_post(Array) #7 /var/www/site.com/htdocs/wp-a in /var/www/site.com/htdocs/wp-content/plugins/specific-content-for-mobile/admin/scfm-admin.php on line 462

    I got this error when something happened and i had to backup a template from WPBakery plugin. I think the change to one home template, cause the error. So I used that fix you gave someone else and it worked again.

    Until then if you need a quick and dirty solution, open the file specific-content-for-mobile/admin/scfm-admin.php and comment the line 324

    add_action( ‘post_updated’,’eos_scfm_check_diffs_on_save’,10,3 );

    has to become

    //add_action( ‘post_updated’,’eos_scfm_check_diffs_on_save’,10,3 );

    This will prevent synchronization during the saving process. The function giving errors will not be called and you should not have issues anymore.

    • This topic was modified 6 years, 3 months ago by admin0x01. Reason: edits
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Uncaught Error: Call to a member function getAttribute()’ is closed to new replies.