Title: Hunchback's Replies | WordPress.org

---

# Hunchback

  [  ](https://wordpress.org/support/users/hunchback/)

 *   [Profile](https://wordpress.org/support/users/hunchback/)
 *   [Topics Started](https://wordpress.org/support/users/hunchback/topics/)
 *   [Replies Created](https://wordpress.org/support/users/hunchback/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/hunchback/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/hunchback/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/hunchback/engagements/)
 *   [Favorites](https://wordpress.org/support/users/hunchback/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Woocommerce no longer showing VAT in orders/invoices](https://wordpress.org/support/topic/woocommerce-no-longer-showing-vat-in-ordersinvoices/)
 *  Thread Starter [Hunchback](https://wordpress.org/support/users/hunchback/)
 * (@hunchback)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-no-longer-showing-vat-in-ordersinvoices/#post-5648507)
 * Another bump… come on guys, this is important! No one had this problem before?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Woocommerce no longer showing VAT in orders/invoices](https://wordpress.org/support/topic/woocommerce-no-longer-showing-vat-in-ordersinvoices/)
 *  Thread Starter [Hunchback](https://wordpress.org/support/users/hunchback/)
 * (@hunchback)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-no-longer-showing-vat-in-ordersinvoices/#post-5648408)
 * *bump*
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to fully Backup my site](https://wordpress.org/support/topic/how-to-fully-backup-my-site/)
 *  [Hunchback](https://wordpress.org/support/users/hunchback/)
 * (@hunchback)
 * [12 years ago](https://wordpress.org/support/topic/how-to-fully-backup-my-site/#post-4016002)
 * To set your folder to writable, you have to connect to your FTP and find the 
   folder indicated by the plugin, then set the writing permissions to 0755. How
   you do that depends on the FTP client you are using, but you can usually right
   click the folder and somewhere you should have “write permissions” or something
   of the sort…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Plugin suddenly stopped working](https://wordpress.org/support/topic/plugin-suddenly-stopped-working-4/)
 *  Thread Starter [Hunchback](https://wordpress.org/support/users/hunchback/)
 * (@hunchback)
 * [12 years ago](https://wordpress.org/support/topic/plugin-suddenly-stopped-working-4/#post-4954381)
 * I see…
    I am a systems and networks engineer so i only know basic code really…
 * What bothers me with this solution is that the next time i update the theme it
   will probably break again, since this widget comes with the theme. I tried deleting
   the widget .php file altogether, but then there’s another error produced, cause
   the theme is looking for the widget and fails to find it.
 * Is there no way to get your plugin and that widget work with a warning instead
   of a critical error?
 * I’ll report that to the theme author too, so that he knows.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Plugin suddenly stopped working](https://wordpress.org/support/topic/plugin-suddenly-stopped-working-4/)
 *  Thread Starter [Hunchback](https://wordpress.org/support/users/hunchback/)
 * (@hunchback)
 * [12 years ago](https://wordpress.org/support/topic/plugin-suddenly-stopped-working-4/#post-4954345)
 * Update:
 * I commented out that section of the code in the widget, since it’s not even a
   widget that we are using. The PDF generated correctly.
 * I am not sure if this is a solution tho, since the problem must have appeared
   when we last update the theme and we somehow didn’t notice it. Perhaps no PDF
   Invoices have been generated lately, can’t say since i am not running the shop
   itself, i am doing the technical part of it.
 * Could you explain what’s wrong, and if there’s another way to fix this?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Plugin suddenly stopped working](https://wordpress.org/support/topic/plugin-suddenly-stopped-working-4/)
 *  Thread Starter [Hunchback](https://wordpress.org/support/users/hunchback/)
 * (@hunchback)
 * [12 years ago](https://wordpress.org/support/topic/plugin-suddenly-stopped-working-4/#post-4954338)
 * Hey,
 * The HTML generated is simply this:
 *  <html>
    <head></head> <body> </body> </html>
 * The debug gave me back this:
 * Fatal error: Cannot redeclare build_url() (previously declared in /mnt/web7/c1/
   04/54024604/htdocs/WordPress_01/wp-content/themes/zonda/lib/widgets/facebook-
   like-widget.php:304) in /mnt/web7/c1/04/54024604/htdocs/WordPress_01/wp-content/
   plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/functions.inc.
   php on line 170
 * Edit:
    Here’s the code from the widget.php
 * function build_url($url_data) {
    $url=””; if (isset($url_data[‘host’])) { $url.
   = $url_data[‘scheme’] . ‘://’; if (isset($url_data[‘user’])) { $url .= $url_data[‘
   user’]; if (isset($url_data[‘pass’])) $url .= ‘:’ . $url_data[‘pass’]; $url .
   = ‘@’; } $url .= $url_data[‘host’]; if (isset($url_data[‘port’])) $url .= ‘:’.
   $url_data[‘port’]; } if (isset($url_data[‘path’])) $url .= $url_data[‘path’];
   if (isset($url_data[‘query’])) $url .= ‘?’ . $url_data[‘query’]; if (isset($url_data[‘
   fragment’])) $url .= ‘#’ . $url_data[‘fragment’];
 *  return $url;
 * ———–

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