Title: colighto's Replies | WordPress.org

---

# colighto

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Permalinks] Updating wrong postmeta](https://wordpress.org/support/topic/updating-wrong-postmeta/)
 *  Thread Starter [colighto](https://wordpress.org/support/users/colighto/)
 * (@colighto)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/updating-wrong-postmeta/#post-9646279)
 * resolving the issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Permalinks] Upgrade conflict with woocommerce](https://wordpress.org/support/topic/upgrade-conflict-with-woocommerce/)
 *  Thread Starter [colighto](https://wordpress.org/support/users/colighto/)
 * (@colighto)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/upgrade-conflict-with-woocommerce/#post-9646271)
 * Hi [@sasiddiqui](https://wordpress.org/support/users/sasiddiqui/),
 * Thank you so much for the help I think this issue is connected to previous issue
   posted [here](https://wordpress.org/support/topic/updating-wrong-postmeta/) (
   traces of the previous issue on other contents do still exist). I manage to download
   and test the code in here it still have the issue I tried to search where the
   problem here is and found that your query on line 64 on custom-permalinks/frontend/
   class-custom-permalinks-frontend.php have changed your previous query did include
   this line on previous version:
 * `, $wpdb->posts.ID ASC`
 * but on your latest version you decided to remove this on the query and because
   of the
 * `LIMIT 1`
 * the query manage to output the wrong content due to multiple postmeta issue it
   outputs the last item added on the db so I tried to add this back on statement:
 * `, p.ID ASC`
 * adding this line on the query did fixed the problem of displaying wrong content
   on our end. After a thorough test the plugin update is good I just need to keep
   the plugin causing the conflict deactivate to prevent the issue from escalating
   further.
 * Thanks,
    Chris
    -  This reply was modified 8 years, 9 months ago by [colighto](https://wordpress.org/support/users/colighto/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Permalinks] Upgrade conflict with woocommerce](https://wordpress.org/support/topic/upgrade-conflict-with-woocommerce/)
 *  Thread Starter [colighto](https://wordpress.org/support/users/colighto/)
 * (@colighto)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/upgrade-conflict-with-woocommerce/#post-9626164)
 * It does not show 404 error but its loading the wrong content for woocommerce 
   products.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Permalinks] Updating wrong postmeta](https://wordpress.org/support/topic/updating-wrong-postmeta/)
 *  Thread Starter [colighto](https://wordpress.org/support/users/colighto/)
 * (@colighto)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/updating-wrong-postmeta/#post-9626077)
 * have not yet contact them but we always keep updates of all the plugins will 
   just have to disable the plugin here until its needed for use.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Permalinks] New Update have Notice and pages stopped working](https://wordpress.org/support/topic/new-update-have-notice-and-pages-stopped-working/)
 *  Thread Starter [colighto](https://wordpress.org/support/users/colighto/)
 * (@colighto)
 * [9 years ago](https://wordpress.org/support/topic/new-update-have-notice-and-pages-stopped-working/#post-9410026)
 * Thanks the problem was fixed.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Permalinks] New Update have Notice and pages stopped working](https://wordpress.org/support/topic/new-update-have-notice-and-pages-stopped-working/)
 *  Thread Starter [colighto](https://wordpress.org/support/users/colighto/)
 * (@colighto)
 * [9 years ago](https://wordpress.org/support/topic/new-update-have-notice-and-pages-stopped-working/#post-9403924)
 * Yup 1.0.1 have this issue I have it tested on dev server first but didn’t implement
   it on our production yet because of the existing issue will need to keep 0.9.3
   for now till it gets fixed.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Helios Solutions Responsive category FAQ] Outdated Jquery](https://wordpress.org/support/topic/outdated-jquery-2/)
 *  Thread Starter [colighto](https://wordpress.org/support/users/colighto/)
 * (@colighto)
 * [9 years ago](https://wordpress.org/support/topic/outdated-jquery-2/#post-9359515)
 * thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dokan: AI Powered WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy] Vendors cannot add products](https://wordpress.org/support/topic/vendors-cannot-add-products/)
 *  Thread Starter [colighto](https://wordpress.org/support/users/colighto/)
 * (@colighto)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/vendors-cannot-add-products/#post-8528289)
 * I see is there a settings where we can allow this products to be posted automatically
   when vendors add them on our site?
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Conversios – GA4, Google Ads & Meta Conversion Tracking with Product Feed for WooCommerce] Real Review](https://wordpress.org/support/topic/real-review-1/)
 *  [colighto](https://wordpress.org/support/users/colighto/)
 * (@colighto)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/real-review-1/#post-7957659)
 * I just figure it out too, I have instantly uninstall this plugin right after 
   I discovered the part where it sends out email address and url link to another
   server through remote post somehow it made me very suspiscious about this plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Uncaught ReferenceError: accounting is not defined](https://wordpress.org/support/topic/uncaught-referenceerror-accounting-is-not-defined/)
 *  Thread Starter [colighto](https://wordpress.org/support/users/colighto/)
 * (@colighto)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-accounting-is-not-defined/#post-7039486)
 * Its ok now I just update our display and add action woocommerce_single_variation
   thanks for the help royho
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Uncaught ReferenceError: accounting is not defined](https://wordpress.org/support/topic/uncaught-referenceerror-accounting-is-not-defined/)
 *  Thread Starter [colighto](https://wordpress.org/support/users/colighto/)
 * (@colighto)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-accounting-is-not-defined/#post-7039465)
 * I think I found the problem now it was on the back compatibility condition on
   function on_woocommerce_before_add_to_cart_form our woocommerce is updated but
   we are using a custom theme I guess I just need to update our theme for this 
   new version though.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Uncaught ReferenceError: accounting is not defined](https://wordpress.org/support/topic/uncaught-referenceerror-accounting-is-not-defined/)
 *  Thread Starter [colighto](https://wordpress.org/support/users/colighto/)
 * (@colighto)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-accounting-is-not-defined/#post-7039464)
 * I see, but as I mention I can’t update to 2.5.10 right now cause the product 
   addon will stop displaying on our product page but I tried to check on the changes
   on the code on line 55 of gravity-product-addons.php it was changed from:
 * `add_action( 'woocommerce_before_add_to_cart_button', array($this, 'woocommerce_gravityform'),
   10 );`
 * to
 * `add_action( 'woocommerce_before_add_to_cart_form', array($this, 'on_woocommerce_before_add_to_cart_form'));`
 * I tried reverting it to original action hook which was woocommerce_before_add_to_cart_button
   also if I do this:
 * `add_action( 'woocommerce_before_add_to_cart_form', array($this, 'woocommerce_gravityform'));`
 * The gravity product form will display but outside the add to cart form so the
   fields will not be included during submission on adding to the cart.
 * I was not sure the reason for the change but this is what surely causing the 
   issue on our end.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Uncaught ReferenceError: accounting is not defined](https://wordpress.org/support/topic/uncaught-referenceerror-accounting-is-not-defined/)
 *  Thread Starter [colighto](https://wordpress.org/support/users/colighto/)
 * (@colighto)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-accounting-is-not-defined/#post-7039458)
 * Its strange the file isn’t really there I check on our other site where I only
   patch with the latest woocommerce update. The directory was:
 * wp-content/plugins/woocommerce/assets/js/admin
 * and accounting.min.js was not there was not sure if the product addons is the
   only one pointing on this file but otherwise I can’t update to product add-ons
   2.10.5 something on the update won’t allow our gravity form to display on our
   product page.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Getting Comment Notifications for Spam Comments when not held for moderation](https://wordpress.org/support/topic/getting-comment-notifications-for-spam-comments-when-not-held-for-moderation-1/)
 *  [colighto](https://wordpress.org/support/users/colighto/)
 * (@colighto)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/getting-comment-notifications-for-spam-comments-when-not-held-for-moderation-1/#post-6179950)
 * Hi, Yeah this is true, on our site we also have the comments disabled on our 
   postings but I was surprised to see comments still getting through even with 
   this feature being disabled, we have had akismet installed on our site but still
   they are getting through but it still helps in minimizing the spams though not
   sure where the problem could be coming from that it fails to block some of the
   spam comments. In just few days since the spam started to get through our site
   there are already 251 spam comments that was listed by akismet, so I was forced
   to do a custom coding to completely disable the comments from getting into our
   database from our themes functions.php, I’m not sure if this would help you to
   validate the comments on your end but since it has the comment data being passed
   I guess its possible here is the code:
 *     ```
       function disable_comments( $approved , $commentdata )
       {
       	die('Thank you for your comment.');
       }
       add_filter( 'pre_comment_approved' , 'disable_comments' , '99', 2 );
       ```
   
 * After adding this every spam comments now fails to get through our database and
   prevent further processing.

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