• Resolved alexliii

    (@alexliii)


    Hello,

    We are using this plugin of Renamer to rename the images on our site for better SEO.

    For the images in the reviews, there will be error on server like:

    WordPress database error Unknown column 'ID' in 'where clause' for query UPDATE wp_postmeta 
                            SET meta_value = '2024/03/mysite139614and1853644ab37aa3114eaa41c9a1e8f00485b17c1a8.webp'
                            WHERE ID IN ('1928262') made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php'), WP_CLI\bootstrap, WP_CLI\Bootstrap\LaunchRunner->process, WP_CLI\Runner->start, WP_CLI\Runner->run_command_and_exit, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, MeowPro_MFRH_CLI->rename_all, mfrh_rename, Meow_MFRH_Core->rename, Meow_MFRH_Engine->rename, Meow_MFRH_Core->call_post_actions, Meow_MFRH_Core->call_hooks_rename_url, do_action('mfrh_url_renamed'), WP_Hook->do_action, WP_Hook->apply_filters, Meow_MFRH_Updates->action_update_postmeta

    Please note that we set mysite as the prefix.

    Fortunately, there is filter in Renamer to disable some image as rename rule, for details, please check at https://meowapps.com/media-file-renamer/issues/#disable-renaming-based-on-rules

    It would be great if you can provide a code snippet to exclude images in Review to be renamed.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Support angelagrey

    (@angelagrey)

    Hi,

    Thank you for reaching out to us.

    I don’t see our plugin class in this error notice. Please reach out to the team of the party whose class is mentioned there.

    Also, I’m sorry that we can’t provide support for custom code request.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘How to disable rename the images of reviews?’ is closed to new replies.