Title: Rex's Replies | WordPress.org

---

# Rex

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] cPanel Redirect 403 from an add-on domain](https://wordpress.org/support/topic/cpanel-redirect-403-from-an-add-on-domain/)
 *  Thread Starter [Rex](https://wordpress.org/support/users/rex511/)
 * (@rex511)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/cpanel-redirect-403-from-an-add-on-domain/#post-11408799)
 * I think you missed a lot of parts, mainly the one that a completely new host,
   a new cpanel, with just 1 day of use, no free themes, with just this free plugin,
   no other things rather a clean install of wp and this free plugin again, and 
   the moment I installed the plugin, the cPanel > Domains > Redirects 403 rules
   appeared, then I uninstalled the wp from now he cpanel (+databases) it also uninstalled
   this free plugin, and the 403 rules were gone… So there are just 2 options, or
   your plugin installed those rules on the cPanel or your free plugin is infected
   with malware by being free, you’ve said it yourself you’ve seen free plugins 
   infected, could it be this is happening here?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] cPanel Redirect 403 from an add-on domain](https://wordpress.org/support/topic/cpanel-redirect-403-from-an-add-on-domain/)
 *  Thread Starter [Rex](https://wordpress.org/support/users/rex511/)
 * (@rex511)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/cpanel-redirect-403-from-an-add-on-domain/#post-11406401)
 * It seems you haven’t read the whole thing, 1 day after creating the new email,
   buying the new host, within this new host, with no themes installed, with no 
   plugins installed; only the addon domain, wp from the cpanel’s quick install,
   and only this free “all in one wp security” installed, the moment I configured
   the firewall, the rules in the htaccess, the same cPanel > Domains > Redirects
   403 rules appeared, so I don’t believe it’s a coincidence, but you may be in 
   something, as this plugin is free, may it be infected with malware maybe?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Missing Argument 1 for WC_Order::__construct()](https://wordpress.org/support/topic/missing-argument-1-for-wc_order_construct/)
 *  [Rex](https://wordpress.org/support/users/rex511/)
 * (@rex511)
 * [12 years ago](https://wordpress.org/support/topic/missing-argument-1-for-wc_order_construct/page/2/#post-5284845)
 * I JUST KNEW IT!! Updated woocommerce and it doesn’t work for me anymore.. now
   Line 19 looks like :
 * public function __construct( $order ) {
    $this->order_type = ‘simple’;
 *  parent::__construct( $order );
    }
 * No idea what to replace here… Line 42 in my theme looks like:
 * $order = new WC_Order();
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Missing Argument 1 for WC_Order::__construct()](https://wordpress.org/support/topic/missing-argument-1-for-wc_order_construct/)
 *  [Rex](https://wordpress.org/support/users/rex511/)
 * (@rex511)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/missing-argument-1-for-wc_order_construct/#post-5284723)
 * Replacing
 * $order = new WC_Order();
    $order->populate( $some_var );
 * with
 * $order = new WC_Order( $order_id );
 * done…
    It worked!… at least for now (knowing wordpress, with an incoming future
   update it might not… who knows)… thanks for the code claudio and mccju for the
   corroboration.

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