• Resolved amirhossein7

    (@amirhossein7)


    Hi Jordy

    1- Metadata Tab not work And when click on it, it does not show any data and says it is empty.

    2- Duplicated Post Meta Clean button in Posts Metadata Section in WordPress Core Tab not work properly and And when I click on it, it still shows the same number of Duplicated Post Meta after a long time.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Skrlance

    (@seanlance)

    Same issue occurring on mine too!! Developer please fix!

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hi guys,

    Are you using 0.9.2? If yes, can you check your PHP Error Logs?

    Thread Starter amirhossein7

    (@amirhossein7)

    v 0.9.2?😲

    The version available in the WordPress repository and installed on my site is 0.9.1

    Plugin Author Jordy Meow

    (@tigroumeow)

    Ah, sorry, 0.9.1 🙂 Should work with that one already. Anything in your PHP Error Logs?

    Thread Starter amirhossein7

    (@amirhossein7)

    PHP Fatal error:  Uncaught Error: Invalid table specified in /home/public_html/wp-content/plugins/database-cleaner/classes/admin.php:166
    Stack trace:
    #0 /home/public_html/wp-content/plugins/database-cleaner/classes/rest.php(495): Meow_DBCLNR_Admin->get_metadata_count('wp_postmeta', NULL, Array, Array)
    #1 /home/public_html/wp-includes/rest-api/class-wp-rest-server.php(1181): Meow_DBCLNR_Rest->rest_metadata(Object(WP_REST_Request))
    #2 /home/public_html/wp-includes/rest-api/class-wp-rest-server.php(1028): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/database-clean...', Array, NULL)
    #3 /home/public_html/wp-includes/rest-api/class-wp-rest-server.php(442): WP_REST_Server->dispatch(Object(WP_REST_Request))
    #4 /home/public_html/wp-includes/rest-api.php(410): WP_REST_Server->serve_request('/database-clean...')
    #5 /home/public_html/wp-includes/class-wp-hook.php(308): rest_api_loaded(Object(WP))
    #6 /home/public_html/wp-includes/class-wp-hook. in /home/public_html/wp-content/plugins/database-cleaner/classes/admin.php on line 166
    Plugin Author Jordy Meow

    (@tigroumeow)

    Indeed, the prefix used for metadata were the default ones! I missed that. It should be fixed in the latest release (1.7.5).

    Thread Starter amirhossein7

    (@amirhossein7)

    fixed in the latest release (1.7.5)?😲

    latest release is 0.9.3, right?

    Thread Starter amirhossein7

    (@amirhossein7)

    Is Duplicated Post Meta Clean button problem solved?

    Plugin Author Jordy Meow

    (@tigroumeow)

    Indeed, it’s 0.9.3.

    About the Duplicated Post Meta statistics, have you checked the little warning sign next to it? Basically, it’s impossible to actually check which are really the duplicates (or that would take a very long time, as we need to check the values of each meta between each other as well) – so it’s just the potential number of duplicates. When you actually click the remove button, it goes through everything and only delete the actual duplicates.

    Thread Starter amirhossein7

    (@amirhossein7)

    I just wanted to delete some old and unnecessary user metas in the Metadata tab, when I encountered the following message in my browser:

    Server error. Please check your PHP Error Logs.

    Invalid attempt to spread non-iterable instance.
    In order to be iterable, nan-array objects must have a [Symbol.iterator] () method.

    Here are the errors recorded in the error log:

    PHP Fatal error:  Uncaught Error: Invalid table specified in /home/public_html/wp-content/plugins/database-cleaner/classes/admin.php:344
    Stack trace:
    #0 /home/public_html/wp-content/plugins/database-cleaner/classes/rest.php(556): Meow_DBCLNR_Admin->delete_metadata('9LhMIcj_usermet...', Array)
    #1 /home/public_html/wp-includes/rest-api/class-wp-rest-server.php(1181): Meow_DBCLNR_Rest->rest_delete_metadata(Object(WP_REST_Request))
    #2 /home/public_html/wp-includes/rest-api/class-wp-rest-server.php(1028): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/database-clean...', Array, NULL)
    #3 /home/public_html/wp-includes/rest-api/class-wp-rest-server.php(442): WP_REST_Server->dispatch(Object(WP_REST_Request))
    #4 /home/public_html/wp-includes/rest-api.php(410): WP_REST_Server->serve_request('/database-clean...')
    #5 /home/public_html/wp-includes/class-wp-hook.php(308): rest_api_loaded(Object(WP))
    #6 /home/public_html/wp-includes/class-wp-hook.ph in /home/public_html/wp-content/plugins/database-cleaner/classes/admin.php on line 344
    Thread Starter amirhossein7

    (@amirhossein7)

    Also, the number of Duplicated Post Metas on my site in the Posts Metadata section of the WordPress core plugin is 428, but when I hit the clean button to delete them, after a long period of time and consecutive percentages of 20% to 80% and Its completion, but it still shows the same 428 and none has been deleted.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Problem in Metadata tab and Duplicated Post Meta function’ is closed to new replies.