Title: Error with New wordpress version
Last modified: December 31, 2022

---

# Error with New wordpress version

 *  [Selim Koç](https://wordpress.org/support/users/selimkoc/)
 * (@selimkoc)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-with-new-wordpress-version/)
 *     ```wp-block-code
       Notice: Trying to get property 'use_trailing_slashes' of non-object in public_html/wp-includes/link-template.php on line 49
   
       Fatal error: Uncaught Error: Call to a member function using_permalinks() on null in public_html/wp-content/plugins/html-after-url/html-after-url.php:46 Stack trace: #0 public_html/wp-includes/class-wp-hook.php(308): amm_hau_remove_slash() #1 public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #2 /public_html/wp-includes/link-template.php(65): apply_filters() #3 /public_html/wp-includes/link-template.php(287): user_trailingslashit() #4  public_html/wp-content/plugins/html-after-url/html-after-url.php on line 46
   
       Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /public_html/wp-includes/functions.php on line 5835
   
       Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /public_html/wp-includes/functions.php on line 5835
       ```
   
 *     ```wp-block-code
       Fatal error: Uncaught ArgumentCountError: Too few arguments to function amm_hau_remove_slash(), 1 passed in /public_html/wp-includes/class-wp-hook.php on line 308 and exactly 2 expected in /public_html/wp-content/plugins/html-after-url/html-after-url.php:44 Stack trace: #0 /public_html/wp-includes/class-wp-hook.php(308): amm_hau_remove_slash() #1 /public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #2 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #3 -/public_html/wp-settings.php(617): do_action() #4 /public_html/wp-config.php(98): require_once('/home...') #5 /public_html/wp-load.php(50): require_once('/home/...') #6 /public_html/wp-admin/admin.php(34): require_once(' in /public_html/wp-content/plugins/html-after-url/html-after-url.php on line 44
       There has been a critical error on this website. Please check your site admin email inbox for instructions.
       ```
   

The topic ‘Error with New wordpress version’ is closed to new replies.

 * ![](https://ps.w.org/html-after-url/assets/icon.svg?rev=1720964)
 * [html after URL](https://wordpress.org/plugins/html-after-url/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/html-after-url/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/html-after-url/)
 * [Active Topics](https://wordpress.org/support/plugin/html-after-url/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/html-after-url/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/html-after-url/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Selim Koç](https://wordpress.org/support/users/selimkoc/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/error-with-new-wordpress-version/)
 * Status: not resolved