Support » Plugin: Ultimate Fields » Fatal Error: Uncaught ArgumentCountError: Too few arguments to function Ultimate

  • Resolved biswajitpaul01


    I am getting this error below after migrating from staging server to local using “All In One WP Migration”. I used many times migrating plugin and it would not cause any issue before using your plugin.

    [21-Apr-2018 16:10:02 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function Ultimate_Fields\Controller\Post_Type::revision_fields(), 1 passed in F:\xampp\htdocs\myproject\wp-includes\class-wp-hook.php on line 286 and exactly 2 expected in F:\xampp\htdocs\myproject\wp-content\plugins\ultimate-fields\core\classes\Controller\Post_Type.php:504
    Stack trace:
    #0 F:\xampp\htdocs\myproject\wp-includes\class-wp-hook.php(286): Ultimate_Fields\Controller\Post_Type->revision_fields(Array)
    #1 F:\xampp\htdocs\myproject\wp-includes\plugin.php(203): WP_Hook->apply_filters(Array, Array)
    #2 F:\xampp\htdocs\myproject\wp-content\plugins\wp-front-end-editor\class-wp-rest-post-autosave-controller.php(330): apply_filters('_wp_post_revisi...', Array)
    #3 F:\xampp\htdocs\myproject\wp-includes\rest-api\endpoints\class-wp-rest-controller.php(353): WP_REST_Post_Autosave_Controller->get_item_schema()
    #4 F:\xampp\htdocs\myproject\wp-content\plugins\wp-front-end-editor\class-wp-rest-post-a in F:\xampp\htdocs\myproject\wp-content\plugins\ultimate-fields\core\classes\Controller\Post_Type.php on line 504
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Radoslav Georgiev


    Hi biswajitpaul01,

    based on the stack trace of the error message, I found out that the issue is rather caused by the combination of Ultimate Fields and the “Front-end Editor” plugin.

    The issue will be fixed in version 3.0.1 that will be released in the next couple of hours.

    Best regards,

    @radogeorgiev Please pardon me for my late response.

    Thank you for your upgrade. Your plugin is working great now. Another issue I am facing is that I can not set metaboxes for one specific pages only. Can you look into that?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error: Uncaught ArgumentCountError: Too few arguments to function Ultimate’ is closed to new replies.