Title: marktea1's Replies | WordPress.org

---

# marktea1

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [PHP Error – subdirectory is in URL twice](https://wordpress.org/support/topic/php-error-subdirectory-is-in-url-twice/)
 *  Thread Starter [marktea1](https://wordpress.org/support/users/marktea1/)
 * (@marktea1)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-error-subdirectory-is-in-url-twice/#post-17270026)
 * Thanks Nico. Updating the permalinks didn’t work, but logging into the server
   and clearing all of the caches from there did the trick! 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Separate product search and blog search on same website](https://wordpress.org/support/topic/separate-product-search-and-blog-search-on-same-website/)
 *  Thread Starter [marktea1](https://wordpress.org/support/users/marktea1/)
 * (@marktea1)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/separate-product-search-and-blog-search-on-same-website/#post-16813157)
 * I’m going to make another post to avoid confusion because a few things have changed
   since I posted, but I still have a problem with the search.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] CF7 not working with iOS](https://wordpress.org/support/topic/cf7-not-working-with-ios/)
 *  Thread Starter [marktea1](https://wordpress.org/support/users/marktea1/)
 * (@marktea1)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/cf7-not-working-with-ios/#post-13986784)
 * The error is “There was an error trying to send your message. Please try again
   later.”
 * It now appears, after some more testing, that the error is only from an iOS device
   when the form is accessed by clicking on a Facebook ad.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Linking database and website](https://wordpress.org/support/topic/linking-database-and-website/)
 *  Thread Starter [marktea1](https://wordpress.org/support/users/marktea1/)
 * (@marktea1)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/linking-database-and-website/#post-13958563)
 * Thanks for the ideas [@fullworks](https://wordpress.org/support/users/fullworks/),
   unfortunately that doesn’t fix it. Still getting the same identical error.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Linking database and website](https://wordpress.org/support/topic/linking-database-and-website/)
 *  Thread Starter [marktea1](https://wordpress.org/support/users/marktea1/)
 * (@marktea1)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/linking-database-and-website/#post-13956458)
 * It appears I got something incorrect with the line numbers above.
 * From the debug log file (it’s mostly line 76):
 * > [26-Jan-2021 00:04:15 UTC] PHP Warning: Use of undefined constant ‘WC_LOG_DIR’–
   > assumed ‘‘WC_LOG_DIR’’ (this will throw an Error in a future version of PHP)
   > in /home/customer/www/digongroup.com/public_html/fair/wp-config.php on line
   > 76
   >  [26-Jan-2021 00:04:15 UTC] PHP Warning: Use of undefined constant ‘ – assumed‘‘’(
   > this will throw an Error in a future version of PHP) in /home/customer/www/
   > digongroup.com/public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:
   > 15 UTC] PHP Warning: Use of undefined constant wp – assumed ‘wp’ (this will
   > throw an Error in a future version of PHP) in /home/customer/www/digongroup.
   > com/public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:15 UTC] PHP
   > Warning: A non-numeric value encountered in /home/customer/www/digongroup.com/
   > public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:15 UTC] PHP Warning:
   > Division by zero in /home/customer/www/digongroup.com/public_html/fair/wp-config.
   > php on line 76 [26-Jan-2021 00:04:15 UTC] PHP Warning: Use of undefined constant
   > content – assumed ‘content’ (this will throw an Error in a future version of
   > PHP) in /home/customer/www/digongroup.com/public_html/fair/wp-config.php on
   > line 76 [26-Jan-2021 00:04:15 UTC] PHP Warning: Use of undefined constant uploads–
   > assumed ‘uploads’ (this will throw an Error in a future version of PHP) in /
   > home/customer/www/digongroup.com/public_html/fair/wp-config.php on line 76 [
   > 26-Jan-2021 00:04:15 UTC] PHP Warning: A non-numeric value encountered in /
   > home/customer/www/digongroup.com/public_html/fair/wp-config.php on line 76 [
   > 26-Jan-2021 00:04:15 UTC] PHP Warning: Division by zero in /home/customer/www/
   > digongroup.com/public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:
   > 15 UTC] PHP Warning: Use of undefined constant wc – assumed ‘wc’ (this will
   > throw an Error in a future version of PHP) in /home/customer/www/digongroup.
   > com/public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:15 UTC] PHP
   > Warning: A non-numeric value encountered in /home/customer/www/digongroup.com/
   > public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:15 UTC] PHP Warning:
   > Division by zero in /home/customer/www/digongroup.com/public_html/fair/wp-config.
   > php on line 76 [26-Jan-2021 00:04:15 UTC] PHP Warning: A non-numeric value 
   > encountered in /home/customer/www/digongroup.com/public_html/fair/wp-config.
   > php on line 76 [26-Jan-2021 00:04:15 UTC] PHP Warning: Use of undefined constant
   > logs – assumed ‘logs’ (this will throw an Error in a future version of PHP)
   > in /home/customer/www/digongroup.com/public_html/fair/wp-config.php on line
   > 76 [26-Jan-2021 00:04:15 UTC] PHP Warning: Use of undefined constant ’ – assumed‘’’(
   > this will throw an Error in a future version of PHP) in /home/customer/www/
   > digongroup.com/public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:
   > 15 UTC] PHP Warning: A non-numeric value encountered in /home/customer/www/
   > digongroup.com/public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:
   > 15 UTC] PHP Warning: Division by zero in /home/customer/www/digongroup.com/
   > public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:15 UTC] PHP Notice:
   > Constant WP_MAX_MEMORY_LIMIT already defined in /home/customer/www/digongroup.
   > com/public_html/fair/wp-config.php on line 78 [26-Jan-2021 00:04:16 UTC] PHP
   > Warning: Use of undefined constant ‘WC_LOG_DIR’ – assumed ‘‘WC_LOG_DIR’’ (this
   > will throw an Error in a future version of PHP) in /home/customer/www/digongroup.
   > com/public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:16 UTC] PHP
   > Warning: Use of undefined constant ‘ – assumed ‘‘’ (this will throw an Error
   > in a future version of PHP) in /home/customer/www/digongroup.com/public_html/
   > fair/wp-config.php on line 76 [26-Jan-2021 00:04:16 UTC] PHP Warning: Use of
   > undefined constant wp – assumed ‘wp’ (this will throw an Error in a future 
   > version of PHP) in /home/customer/www/digongroup.com/public_html/fair/wp-config.
   > php on line 76 [26-Jan-2021 00:04:16 UTC] PHP Warning: A non-numeric value 
   > encountered in /home/customer/www/digongroup.com/public_html/fair/wp-config.
   > php on line 76 [26-Jan-2021 00:04:16 UTC] PHP Warning: Division by zero in /
   > home/customer/www/digongroup.com/public_html/fair/wp-config.php on line 76 [
   > 26-Jan-2021 00:04:16 UTC] PHP Warning: Use of undefined constant content – 
   > assumed ‘content’ (this will throw an Error in a future version of PHP) in /
   > home/customer/www/digongroup.com/public_html/fair/wp-config.php on line 76 [
   > 26-Jan-2021 00:04:16 UTC] PHP Warning: Use of undefined constant uploads – 
   > assumed ‘uploads’ (this will throw an Error in a future version of PHP) in /
   > home/customer/www/digongroup.com/public_html/fair/wp-config.php on line 76 [
   > 26-Jan-2021 00:04:16 UTC] PHP Warning: A non-numeric value encountered in /
   > home/customer/www/digongroup.com/public_html/fair/wp-config.php on line 76 [
   > 26-Jan-2021 00:04:16 UTC] PHP Warning: Division by zero in /home/customer/www/
   > digongroup.com/public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:
   > 16 UTC] PHP Warning: Use of undefined constant wc – assumed ‘wc’ (this will
   > throw an Error in a future version of PHP) in /home/customer/www/digongroup.
   > com/public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:16 UTC] PHP
   > Warning: A non-numeric value encountered in /home/customer/www/digongroup.com/
   > public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:16 UTC] PHP Warning:
   > Division by zero in /home/customer/www/digongroup.com/public_html/fair/wp-config.
   > php on line 76 [26-Jan-2021 00:04:16 UTC] PHP Warning: A non-numeric value 
   > encountered in /home/customer/www/digongroup.com/public_html/fair/wp-config.
   > php on line 76 [26-Jan-2021 00:04:16 UTC] PHP Warning: Use of undefined constant
   > logs – assumed ‘logs’ (this will throw an Error in a future version of PHP)
   > in /home/customer/www/digongroup.com/public_html/fair/wp-config.php on line
   > 76 [26-Jan-2021 00:04:16 UTC] PHP Warning: Use of undefined constant ’ – assumed‘’’(
   > this will throw an Error in a future version of PHP) in /home/customer/www/
   > digongroup.com/public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:
   > 16 UTC] PHP Warning: A non-numeric value encountered in /home/customer/www/
   > digongroup.com/public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:
   > 16 UTC] PHP Warning: Division by zero in /home/customer/www/digongroup.com/
   > public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:16 UTC] PHP Notice:
   > Constant WP_MAX_MEMORY_LIMIT already defined in /home/customer/www/digongroup.
   > com/public_html/fair/wp-config.php on line 78 [26-Jan-2021 00:04:16 UTC] PHP
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/customer/www/digongroup.com/public_html/fair/wp-config.php:
   > 76) in /home/customer/www/digongroup.com/public_html/fair/wp-includes/pluggable.
   > php on line 1296 [26-Jan-2021 00:04:16 UTC] PHP Warning: Use of undefined constant‘
   > WC_LOG_DIR’ – assumed ‘‘WC_LOG_DIR’’ (this will throw an Error in a future 
   > version of PHP) in /home/customer/www/digongroup.com/public_html/fair/wp-config.
   > php on line 76 [26-Jan-2021 00:04:16 UTC] PHP Warning: Use of undefined constant‘–
   > assumed ‘‘’ (this will throw an Error in a future version of PHP) in /home/
   > customer/www/digongroup.com/public_html/fair/wp-config.php on line 76 [26-Jan-
   > 2021 00:04:16 UTC] PHP Warning: Use of undefined constant wp – assumed ‘wp’(
   > this will throw an Error in a future version of PHP) in /home/customer/www/
   > digongroup.com/public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:
   > 16 UTC] PHP Warning: A non-numeric value encountered in /home/customer/www/
   > digongroup.com/public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:
   > 16 UTC] PHP Warning: Division by zero in /home/customer/www/digongroup.com/
   > public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:16 UTC] PHP Warning:
   > Use of undefined constant content – assumed ‘content’ (this will throw an Error
   > in a future version of PHP) in /home/customer/www/digongroup.com/public_html/
   > fair/wp-config.php on line 76 [26-Jan-2021 00:04:16 UTC] PHP Warning: Use of
   > undefined constant uploads – assumed ‘uploads’ (this will throw an Error in
   > a future version of PHP) in /home/customer/www/digongroup.com/public_html/fair/
   > wp-config.php on line 76 [26-Jan-2021 00:04:16 UTC] PHP Warning: A non-numeric
   > value encountered in /home/customer/www/digongroup.com/public_html/fair/wp-
   > config.php on line 76 [26-Jan-2021 00:04:16 UTC] PHP Warning: Division by zero
   > in /home/customer/www/digongroup.com/public_html/fair/wp-config.php on line
   > 76 [26-Jan-2021 00:04:16 UTC] PHP Warning: Use of undefined constant wc – assumed‘
   > wc’ (this will throw an Error in a future version of PHP) in /home/customer/
   > www/digongroup.com/public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:
   > 04:16 UTC] PHP Warning: A non-numeric value encountered in /home/customer/www/
   > digongroup.com/public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:
   > 16 UTC] PHP Warning: Division by zero in /home/customer/www/digongroup.com/
   > public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:16 UTC] PHP Warning:
   > A non-numeric value encountered in /home/customer/www/digongroup.com/public_html/
   > fair/wp-config.php on line 76 [26-Jan-2021 00:04:16 UTC] PHP Warning: Use of
   > undefined constant logs – assumed ‘logs’ (this will throw an Error in a future
   > version of PHP) in /home/customer/www/digongroup.com/public_html/fair/wp-config.
   > php on line 76 [26-Jan-2021 00:04:16 UTC] PHP Warning: Use of undefined constant’–
   > assumed ‘’’ (this will throw an Error in a future version of PHP) in /home/
   > customer/www/digongroup.com/public_html/fair/wp-config.php on line 76 [26-Jan-
   > 2021 00:04:16 UTC] PHP Warning: A non-numeric value encountered in /home/customer/
   > www/digongroup.com/public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:
   > 04:16 UTC] PHP Warning: Division by zero in /home/customer/www/digongroup.com/
   > public_html/fair/wp-config.php on line 76 [26-Jan-2021 00:04:16 UTC] PHP Notice:
   > Constant WP_MAX_MEMORY_LIMIT already defined in /home/customer/www/digongroup.
   > com/public_html/fair/wp-config.php on line 78 [26-Jan-2021 00:04:16 UTC] PHP
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/customer/www/digongroup.com/public_html/fair/wp-config.php:
   > 76) in /home/customer/www/digongroup.com/public_html/fair/wp-includes/pluggable.
   > php on line 1296
 * wp-config:
 * Line 72: define( ‘WC_LOG_DIR’, dirname( __FILE__ ) . ‘/wp-content/uploads/wc-
   logs/’ );
    Line 76: define( ‘WP_MAX_MEMORY_LIMIT’, ‘128M’ );
 * Thanks for any help. PHP errors is not my strong point.
    -  This reply was modified 5 years, 5 months ago by [marktea1](https://wordpress.org/support/users/marktea1/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Linking database and website](https://wordpress.org/support/topic/linking-database-and-website/)
 *  Thread Starter [marktea1](https://wordpress.org/support/users/marktea1/)
 * (@marktea1)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/linking-database-and-website/#post-13956403)
 * Thanks, the exact message:
 * “There has been a critical error on this website. Learn more about debugging 
   in WordPress.”
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Contact form 7 not submitting in Opera](https://wordpress.org/support/topic/contact-form-7-not-submitting-in-opera/)
 *  Thread Starter [marktea1](https://wordpress.org/support/users/marktea1/)
 * (@marktea1)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/contact-form-7-not-submitting-in-opera/#post-13908032)
 * There also appears to be a problem with form submission using iOS/Safari.
 * Other plugins in use, if it helps: Avada Builder, Avada Core,
    Coming Soon Page,
   Maintenance Mode & Landing Pages by SeedProd, Contact Form Entries, Duplicate
   Page and Post, GDPR Cookie Consent, Menu Image, Open Graph Meta Tags by Heateor,
   Quttera Scanner, Really Simple CAPTCHA, Really Simple SSL, Slider Revolution,
   Sucuri Security, Yoast SEO.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Contact form 7 not submitting in Opera](https://wordpress.org/support/topic/contact-form-7-not-submitting-in-opera/)
 *  Thread Starter [marktea1](https://wordpress.org/support/users/marktea1/)
 * (@marktea1)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/contact-form-7-not-submitting-in-opera/#post-13902750)
 * The theme is Avada. I’ve tried deactivating all plugins except for the core ones(
   Fusion etc) and this doesn’t fix the problem. I’ve also since tested the form
   in Safari and it works, it’s just Opera where the problem is.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Taxonomy Images] Display taxonomy images in front end in Avada theme](https://wordpress.org/support/topic/display-taxonomy-images-in-front-end-in-avada-theme/)
 *  Thread Starter [marktea1](https://wordpress.org/support/users/marktea1/)
 * (@marktea1)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/display-taxonomy-images-in-front-end-in-avada-theme/#post-11836003)
 * Problem solved!
 * In case anyone else needs to know, this is the code to add to functions.php:
 * add_action(“woocommerce_before_add_to_cart_form”,”product_taxonomy_image”);
    
   function product_taxonomy_image () { print apply_filters( ‘taxonomy-images-list-
   the-terms’, ”, array( ‘before’ => ‘<div class=”my-custom-class-name”>’, ‘after’
   => ‘</div>’, ‘before_image’ => ‘<span>’, ‘after_image’ => ‘</span>’, ‘image_size’
   => ‘detail’, ‘taxonomy’ => ‘product_cat’, ) ); }
 * Replace ‘product-cat’ with the taxonomy name. Add your own div name to div class
   then style accordingly in the custom CSS of your theme. You can also change the
   Woocommerce hook to display the image where you need it to be.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Can't log in to WordPress after uploading site to remote server](https://wordpress.org/support/topic/cant-log-in-to-wordpress-after-uploading-site-to-remote-server/)
 *  Thread Starter [marktea1](https://wordpress.org/support/users/marktea1/)
 * (@marktea1)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cant-log-in-to-wordpress-after-uploading-site-to-remote-server/#post-5398557)
 * Thanks Lyle, that’s fixed the problem!

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