Title: pirulee's Replies | WordPress.org

---

# pirulee

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/users/pirulee/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/pirulee/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Order Attachments for WooCommerce] Error Help](https://wordpress.org/support/topic/error-help-7/)
 *  [pirulee](https://wordpress.org/support/users/pirulee/)
 * (@pirulee)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/error-help-7/#post-17033784)
 * The error persists and it is because you are calling `wp_enqueue_style` in the
   class `__construct` of `WCOA_My_Account`. This is wrong, it needs to be called
   during specific hooks before rendering.
 * There are two solutions for this issue:
 * **Use wp_enqueue_scripts hook**
 *     ```wp-block-code
       public function __construct()
       {
           add_action( 'wp_enqueue_scripts', [$this, 'enqueue'] );
       }
   
       public function enqueue()
       {
           wp_enqueue_style( 'wcoa-front-app', WCOA_PLUGIN_URL . '/assets/frontend/css/style.css', false, 1.0, 'all' );
       }
       ```
   
 * **Use it before rendering your template**
 *     ```wp-block-code
       public function initialize_template()
       {
           wp_enqueue_style( 'wcoa-front-app', WCOA_PLUGIN_URL . '/assets/frontend/css/style.css', false, 1.0, 'all' );
           do_action( 'wcoa_account_attachments_enqueue' );
           require_once WCOA_PLUGIN_DIR . 'templates/frontend/frontend-my-account-attachments.php';
       }
       ```
   
 * In my personal opinion, I would go with the second option, this way you don’t
   have to load the css on every single page which is not optimal, the other workaround
   would be to use the `wp_enqueue_scripts` hook but only enqueue the style when
   the attachment page is being rendered.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] Plugin cant connect to SMTP after install WP 5.5](https://wordpress.org/support/topic/plugin-cant-connect-to-smtp-after-install-wp-5-5/)
 *  [pirulee](https://wordpress.org/support/users/pirulee/)
 * (@pirulee)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/plugin-cant-connect-to-smtp-after-install-wp-5-5/page/2/#post-13289941)
 * My hosting is WPEngine as well.
 * How come the only plugin having issues after migrating to 5.5 is yours?
 * You can’t simply cross your arms and stand by like this is solved… It is not.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] WordPress 5.5 compatibility issue](https://wordpress.org/support/topic/wordpress-5-5-compatibility-issue/)
 *  Thread Starter [pirulee](https://wordpress.org/support/users/pirulee/)
 * (@pirulee)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/wordpress-5-5-compatibility-issue/#post-13264950)
 * I am not using the PRO version, this issue is still present.
 * The issue might not be related to PHPMailer, it is probably related to the overhaul
   WordPress did to its mailing system, still, your plugin is not compatible at 
   the moment.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] email cannot send](https://wordpress.org/support/topic/email-cannot-send/)
 *  [pirulee](https://wordpress.org/support/users/pirulee/)
 * (@pirulee)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/email-cannot-send/#post-13245327)
 * This appears to be an issue with WordPress 5.5, they have changed their mailing
   class, which at the time is not compatible with this plugin. Roll back to WordPress
   5.4 and wait for the developer to release a patch.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] No such file or directory: Cdn_GoogleDrive_Popup_AuthReturn_View.php](https://wordpress.org/support/topic/no-such-file-or-directory-cdn_googledrive_popup_authreturn_view-php/)
 *  Thread Starter [pirulee](https://wordpress.org/support/users/pirulee/)
 * (@pirulee)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/no-such-file-or-directory-cdn_googledrive_popup_authreturn_view-php/#post-12698042)
 * Sorry, I have deactivated Ninja Forms, but the issue still persists.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] No such file or directory: Cdn_GoogleDrive_Popup_AuthReturn_View.php](https://wordpress.org/support/topic/no-such-file-or-directory-cdn_googledrive_popup_authreturn_view-php/)
 *  Thread Starter [pirulee](https://wordpress.org/support/users/pirulee/)
 * (@pirulee)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/no-such-file-or-directory-cdn_googledrive_popup_authreturn_view-php/#post-12697990)
 * Closing this as it appears to be an issue on Ninja Forms part.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disqus Comment System] Disqus comments with WP custom post types](https://wordpress.org/support/topic/disqus-comments-with-wp-custom-post-types/)
 *  [pirulee](https://wordpress.org/support/users/pirulee/)
 * (@pirulee)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/disqus-comments-with-wp-custom-post-types/#post-12305997)
 * You will need to add a custom template to your theme for the desired post type
   and include the comments template:
 *     ```
       <?php comments_template(); ?>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[License Keys for WooCommerce] Extension crashes when Manage License Keys](https://wordpress.org/support/topic/extension-crashes-when-manage-license-keys/)
 *  Plugin Author [pirulee](https://wordpress.org/support/users/pirulee/)
 * (@pirulee)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/extension-crashes-when-manage-license-keys/#post-12259150)
 * It does, thank you for reporting and sorry for the inconvenient.
 * Reply back if after updating to 1.3.6 you are still having issues with the deactivation
   endpoint.
 * Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[License Keys for WooCommerce] Set the Activation max to number of licences purchase](https://wordpress.org/support/topic/set-the-activation-max-to-number-of-licences-purchase-2/)
 *  Plugin Author [pirulee](https://wordpress.org/support/users/pirulee/)
 * (@pirulee)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/set-the-activation-max-to-number-of-licences-purchase-2/page/2/#post-11790113)
 * [@daigo75](https://wordpress.org/support/users/daigo75/) Also, the item passed
   by in the hook is an instance of `WC_Order_Item`, you should be able to use any
   of the object’s method, in this case `get_quantity()` which returns an `int` 
   as stated on WooCommerce documentation:
    [https://docs.woocommerce.com/wc-apidocs/class-WC_Order_Item.html#_get_quantity](https://docs.woocommerce.com/wc-apidocs/class-WC_Order_Item.html#_get_quantity)
 * If you need the array structure, I would suggest to add it a custom property 
   within the model, in that case, please read this:
    [https://www.10quality.com/docs/woocommerce-license-keys/developers/license-key-data-model/#customizations](https://www.10quality.com/docs/woocommerce-license-keys/developers/license-key-data-model/#customizations)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[License Keys for WooCommerce] Set the Activation max to number of licences purchase](https://wordpress.org/support/topic/set-the-activation-max-to-number-of-licences-purchase-2/)
 *  Plugin Author [pirulee](https://wordpress.org/support/users/pirulee/)
 * (@pirulee)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/set-the-activation-max-to-number-of-licences-purchase-2/page/2/#post-11790080)
 * [@merlinxl](https://wordpress.org/support/users/merlinxl/) sorry, WordPress.org
   notifications are sent automatically by google to another mailbox with is nor
   the one we daily review. Please try to contact us using the support form on our
   site, or create a new thread (marked as no-resolved), for a faster response.
 * [@daigo75](https://wordpress.org/support/users/daigo75/) in regards to your question,
   the `limit` property should be an `int` as stated in our documentation:
    [https://www.10quality.com/docs/woocommerce-license-keys/developers/filter-hooks-reference/#woocommerce_license_key_meta_value](https://www.10quality.com/docs/woocommerce-license-keys/developers/filter-hooks-reference/#woocommerce_license_key_meta_value)
 * This also affects the model:
    [https://www.10quality.com/docs/woocommerce-license-keys/developers/license-key-data-model/](https://www.10quality.com/docs/woocommerce-license-keys/developers/license-key-data-model/)
 * On regular plugin the default value is `null` and on the premium is an `int`.
   If in your tests you are getting an array, then that probably means that you 
   guys have changed the default value to an array, and this will likely create 
   issues. Please check your code and make sure it stores an `int`.
    -  This reply was modified 6 years, 10 months ago by [pirulee](https://wordpress.org/support/users/pirulee/).
    -  This reply was modified 6 years, 10 months ago by [pirulee](https://wordpress.org/support/users/pirulee/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] Cache emptied/flushed action hook](https://wordpress.org/support/topic/cache-emptied-flushed-action-hook/)
 *  Thread Starter [pirulee](https://wordpress.org/support/users/pirulee/)
 * (@pirulee)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/cache-emptied-flushed-action-hook/#post-11727184)
 * Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ninja Forms - The Contact Form Builder That Grows With You] Reset form after submission](https://wordpress.org/support/topic/reset-form-after-submission/)
 *  Thread Starter [pirulee](https://wordpress.org/support/users/pirulee/)
 * (@pirulee)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/reset-form-after-submission/#post-11727180)
 * Hello? There is seriously no wait to reset via Javascript?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Gallery] Plugin is not working with SSL](https://wordpress.org/support/topic/plugin-is-not-working-with-ssl/)
 *  Plugin Author [pirulee](https://wordpress.org/support/users/pirulee/)
 * (@pirulee)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-is-not-working-with-ssl/#post-11697964)
 * This plugin works on SSL.
 * Have you migrated your site from NO-SSL to SLL? Because it sounds like this issue
   is related to data and not the plugin itself.
 * First, flush/empty the plugin’s cache, this will make sure the plugin has no 
   old references.
 * Second, review your attachments, probably they still have `http` a not `https`
   on their references. You will need to update those references in the database.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[License Keys for WooCommerce] How To Integrate With Custom Plugin?](https://wordpress.org/support/topic/how-to-integrate-with-custom-plugin/)
 *  Plugin Author [pirulee](https://wordpress.org/support/users/pirulee/)
 * (@pirulee)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/how-to-integrate-with-custom-plugin/#post-11680632)
 * Use the [quick PHP script tutorial](https://wordpress.org/support/topic/tutorial-quick-php-script/)
   pinned in the support threads:
    [https://wordpress.org/support/plugin/woo-license-keys/](https://wordpress.org/support/plugin/woo-license-keys/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Timeout error when adding attachments on multisite](https://wordpress.org/support/topic/timeout-error-when-adding-attachments-on-multisite/)
 *  Thread Starter [pirulee](https://wordpress.org/support/users/pirulee/)
 * (@pirulee)
 * [7 years ago](https://wordpress.org/support/topic/timeout-error-when-adding-attachments-on-multisite/#post-11609341)
 * Issue appears to be related with a theme that is adding additional fields to 
   the form, not really this plugin.
 * Closing the ticket.

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/users/pirulee/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/pirulee/replies/page/2/?output_format=md)