Title: Wave empty link error
Last modified: October 31, 2022

---

# Wave empty link error

 *  Resolved [Tsakman](https://wordpress.org/support/users/tsakman/)
 * (@tsakman)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wave-empty-link-error/)
 * Hi.
    I scanned a page and i have empty link error at `<a href="http://pallismed.
   tsakman.gr/product/%ce%b1%ce%bd%ce%b1%ce%bb%cf%8e%cf%83%ce%b9%ce%bc%ce%b1-%cf%
   83%cf%84%ce%b7%ce%b8%ce%bf%cf%83%ce%ba%ce%bf%cf%80%ce%af%ce%bf%cf%85-3m-littmann-
   classic-iii-%ce%ba%ce%b1%ce%b9-cardiology-iv/" class="woocommerce-LoopProduct-
   link woocommerce-loop-product__link"></a>`
 * i use the string locator plugin and i think is wp-content/plugins/woocommerce/
   includes/wc-template-functions.php and the line 1200
 *     ```
       echo '<a href="' . esc_url( $link ) . '" class="woocommerce-LoopProduct-link woocommerce-loop-product__link">';
       	}
       ```
   
 * but i dont know how i fix the empty link.Can you help me plz?Thank you for all.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwave-empty-link-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * (@anastas10s)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wave-empty-link-error/#post-16152058)
 * Hey there [@tsakman](https://wordpress.org/support/users/tsakman/) 👋
 * Thanks for reaching out! I understand you run into an empty link error when testing
   the page against a [web a11y checker, like this one](https://achecker.achecks.ca/checker/index.php).
 * The code you are sharing seems to point to the [“related products” section, as showcased here](https://snipboard.io/yzZDsM.jpg).
 * Here’s [how to customize it](https://woocommerce.com/document/related-products-up-sells-and-cross-sells/#section-4).
 * I trust that points you in the right direction, but if you have more questions,
   let us know. We’re happy to help.
 *  Thread Starter [Tsakman](https://wordpress.org/support/users/tsakman/)
 * (@tsakman)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wave-empty-link-error/#post-16153914)
 * The code is inside
 * `wc-template-functions.php` and especially at line 1200
 * `echo '<a href="' . esc_url( $link ) . '" class="woocommerce-LoopProduct-link
   woocommerce-loop-product__link">';`
    How can i add something there not having
   an empty link?
 * If i add a name it shows this
 * > Warning: The use statement with non-compound name ‘AutomatticJetpackConstants’
   > has no effect in /home/tsakmang/pallismed.tsakman.gr/wp-content/plugins/woocommerce/
   > includes/wc-template-functions.php on line 11
   >  Fatal error: Uncaught Error:
   > Class ‘Constants’ not found in /home/tsakmang/pallismed.tsakman.gr/wp-content/
   > plugins/woocommerce/includes/wc-template-functions.php:282 Stack trace: #0 /
   > home/tsakmang/pallismed.tsakman.gr/wp-includes/class-wp-hook.php(307): wc_generator_tag(‘
   > <meta name=”gen…’, ‘xhtml’) #1 /home/tsakmang/pallismed.tsakman.gr/wp-includes/
   > plugin.php(191): WP_Hook->apply_filters(‘<meta name=”gen…’, Array) #2 /home/
   > tsakmang/pallismed.tsakman.gr/wp-includes/general-template.php(4796): apply_filters(‘
   > get_the_generat…’, ‘<meta name=”gen…’, ‘xhtml’) #3 /home/tsakmang/pallismed.
   > tsakman.gr/wp-includes/general-template.php(4708): get_the_generator(‘xhtml’)#
   > 4 /home/tsakmang/pallismed.tsakman.gr/wp-includes/general-template.php(4685):
   > the_generator(‘xhtml’) #5 /home/tsakmang/pallismed.tsakman.gr/wp-includes/class-
   > wp-hook.php(307): wp_generator(”) #6 /home/tsakmang/pallismed.tsakman.gr/wp-
   > includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #7 /home/
   > tsakmang/pallismed.tsakman.gr/wp-includes/plugin. in /home/tsakmang/pallismed.
   > tsakman.gr/wp-content/plugins/woocommerce/includes/wc-template-functions.php
   > on line 282
 * The products are elementor category products
 * Can you help me edit the php?
    Thank you for all
    -  This reply was modified 3 years, 7 months ago by [Tsakman](https://wordpress.org/support/users/tsakman/).
    -  This reply was modified 3 years, 7 months ago by [Tsakman](https://wordpress.org/support/users/tsakman/).
    -  This reply was modified 3 years, 7 months ago by [Tsakman](https://wordpress.org/support/users/tsakman/).
    -  This reply was modified 3 years, 7 months ago by [Tsakman](https://wordpress.org/support/users/tsakman/).
    -  This reply was modified 3 years, 7 months ago by [Tsakman](https://wordpress.org/support/users/tsakman/).
    -  This reply was modified 3 years, 7 months ago by [Tsakman](https://wordpress.org/support/users/tsakman/).
 *  [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * (@anastas10s)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wave-empty-link-error/#post-16171978)
 * Hi there [@tsakman](https://wordpress.org/support/users/tsakman/) 👋
 * > The products are elementor category products
 * Thanks for clarifying. I suggest you get in touch with their support team about
   this, then. I found the following link for you:
    [https://wordpress.org/support/plugin/elementor/](https://wordpress.org/support/plugin/elementor/)
 * > Can you help me edit the php?
 * Kindly keep in mind we are not developers and only offer support for existing
   functionality.
 * Please see our Support Policy: [http://www.woocommerce.com/support-policy/](http://www.woocommerce.com/support-policy/)
 * For assistance with customization or development with your site, we recommend
   that you seek help from:
 * * A local web developer
    * [Codeable.io](https://woocommerce.com/codeable/) *
   [WooExperts](https://woocommerce.com/experts/) * [Stackexchange](http://wordpress.stackexchange.com/help/on-topic)
 * If you are comfortable coding yourself and have questions, I would also recommend
   that you consider:
 * * [WooCommerce developer Portal](https://developer.woocommerce.com/)
    * [WooCommerce Slack Community](https://woocommerceslack.herokuapp.com/)*
   [Advanced WooCommerce Facebook group](https://www.facebook.com/groups/advanced.woocommerce)
 * I hope that helps you to figure it out.
 * Feel free to get back to us if you have further questions.

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

The topic ‘Wave empty link error’ is closed to new replies.

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

 * 3 replies
 * 2 participants
 * Last reply from: [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/wave-empty-link-error/#post-16171978)
 * Status: resolved