WordPress Fatal Errors [closed]

The error messages are pretty straightforward.

First error:

custom_permalinks_original_post_link() is not defined. It might be one defined by a plugin called “Custom Permalinks”. See https://github.com/GSA/custom-permalinks/blob/master/custom-permalinks.php.

If you need that functionality, install/activate the plugin or refactor your code.

Second error:

It’s clear that the category-icons plugin is doing something wrong and not calling wpdb::prepare() properly. You should ask the developer to update their plugin or find an alternative. Perhaps WP Term Icons is such an alternative.