Title: Farhad Sakhaei's Replies | WordPress.org

---

# Farhad Sakhaei

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Fold] Fold error class](https://wordpress.org/support/topic/fold-error-class/)
 *  [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 months ago](https://wordpress.org/support/topic/fold-error-class/#post-18937152)
 * Hi [@tradesouthwestgmailcom](https://wordpress.org/support/users/tradesouthwestgmailcom/),
   
   Thank you for reporting this issue,
 * However this message doesn’t stop your web site,
   But we fix this in next release,
   Can I know about your PHP version?Thank you
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Advanced Classic Editor] Pretty Much Needed This Plugin](https://wordpress.org/support/topic/pretty-much-needed-this-plugin/)
 *  Plugin Author [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/pretty-much-needed-this-plugin/#post-18452484)
 * Hi,
 * Thank you for your review ❤️🙏🙌
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Classic Editor] Undefined Array Key “font-awesome”](https://wordpress.org/support/topic/undefined-array-key-font-awesome/)
 *  Plugin Author [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/undefined-array-key-font-awesome/#post-18294466)
 * Hi,
 * Thank you for reporting this issue and sorry for long time delay
 * We fixed the issue, please download new version of plugin and test again
 * Again sorry for long delay
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Proper and standard use of $wpdb->prepare](https://wordpress.org/support/topic/proper-and-standard-use-of-wpdb-prepare/)
 *  Thread Starter [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/proper-and-standard-use-of-wpdb-prepare/#post-17563605)
 * [@bcworkz](https://wordpress.org/support/users/bcworkz/)
   Thank you,I found that
   it should be like this:
 *     ```wp-block-code
       $get_order = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM %i WHERE order_id = %d", $table_name, $order_id ) );
       ```
   
 * `%i` (identifier, e.g. table/field names)
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Proper and standard use of $wpdb->prepare](https://wordpress.org/support/topic/proper-and-standard-use-of-wpdb-prepare/)
 *  Thread Starter [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/proper-and-standard-use-of-wpdb-prepare/#post-17560601)
 * [@bcworkz](https://wordpress.org/support/users/bcworkz/)
   Thank you for your reply,
   I tested that, But it seems that %s adds ‘ around the table name and that will
   create another SQL error !!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Classic Editor] font awesome icons invisible in editor](https://wordpress.org/support/topic/font-awesome-icons-invisible-in-editor/)
 *  Plugin Author [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/font-awesome-icons-invisible-in-editor/#post-17523067)
 * [@audioscavenger](https://wordpress.org/support/users/audioscavenger/)
   You are
   welcome, We enjoy to develop and help our users
 * Good luck
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Classic Editor] font awesome icons invisible in editor](https://wordpress.org/support/topic/font-awesome-icons-invisible-in-editor/)
 *  Plugin Author [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/font-awesome-icons-invisible-in-editor/#post-17522337)
 * [@audioscavenger](https://wordpress.org/support/users/audioscavenger/)
   Hi,
 * Thank you for reporting this problem,
   Please update the plugin to new version,
   and the problem probably resolves
 * Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] action doesn’t work](https://wordpress.org/support/topic/action-doesnt-work/)
 *  Thread Starter [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/action-doesnt-work/#post-17422182)
 * [@carolm29](https://wordpress.org/support/users/carolm29/)
   Hi,
 * I could login , Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] action doesn’t work](https://wordpress.org/support/topic/action-doesnt-work/)
 *  Thread Starter [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/action-doesnt-work/#post-17416019)
 * [@ckadenge](https://wordpress.org/support/users/ckadenge/)
   Hi,Thank you for your
   reply,
 * I created an issue on woocommerce github for this purpose,
   And when I click on
   the link of Slack “Let’s Go”, the following error displayThis link is no longer
   active
 * To join this workspace, you’ll need to ask the person who originally invited 
   you for a new link.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Strange problem when activating Woocommerce](https://wordpress.org/support/topic/strange-problem-when-activating-woocommerce/)
 *  Thread Starter [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/strange-problem-when-activating-woocommerce/#post-17401648)
 * [@shameemreza](https://wordpress.org/support/users/shameemreza/)
   Hi,Please remember
   that this is not resolved completely, as currently the versions after 8.4.0 doesn’t
   work using enabled opcache on XAMPP and it break the WordPress completely.I just
   disabled opcache to do my work, But opcache is necessary for better speed and
   it’s a core PHP extension
 * Thank you
    -  This reply was modified 2 years, 6 months ago by [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Strange problem when activating Woocommerce](https://wordpress.org/support/topic/strange-problem-when-activating-woocommerce/)
 *  Thread Starter [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/strange-problem-when-activating-woocommerce/#post-17398711)
 * [@ckadenge](https://wordpress.org/support/users/ckadenge/)
   [@carolm29](https://wordpress.org/support/users/carolm29/)
   [@beautyofcode](https://wordpress.org/support/users/beautyofcode/)[@doublezed2](https://wordpress.org/support/users/doublezed2/)
   Hi,Thank you all for your support,I finally found the problem,First I used a 
   clean WordPress setup to install Woocommerce and again it didn’t activated (same
   before)
 * I downloaded previous versions of Woocommerce and revert back to previous versions
   one by one
   At last I could activate the Woocommerce with version 8.4.0
 * After activating WooCommerce and ensure that all databases are ok, again I updated
   the woocommerce to latest version (Plugin in activated mode)
 * And again that problem occured even on the page:
   [http://localhost/wordpress/wp-admin/plugins.php](http://localhost/wordpress/wp-admin/plugins.php)
   It was very strange for me, I checked php.ini settings and I disabled opcache
 * It seems that versions after 8.4.0 doesn’t work with opcache enabled on XAMPP!!!
 * I increase these values:
   opcache.memory_consumption=1000opcache.max_accelerated_files
   =9999
 * But it doesn’t work with enabled opcache at all
   So I just disabled opcache for
   now to resolve this issue by the team
 * Regards
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Block theme export has different code](https://wordpress.org/support/topic/block-theme-export-has-different-code/)
 *  Thread Starter [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/block-theme-export-has-different-code/#post-17397574)
 * [@bcworkz](https://wordpress.org/support/users/bcworkz/)
   Thank you for your supportYes,
   Got it,
 * But I think it will decrease code readability and it makes it ugly 🙁
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Strange problem when activating Woocommerce](https://wordpress.org/support/topic/strange-problem-when-activating-woocommerce/)
 *  Thread Starter [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/strange-problem-when-activating-woocommerce/#post-17397550)
 * [@beautyofcode](https://wordpress.org/support/users/beautyofcode/)
 * Hi, Thank you for your support,
    - Does this issue only pop up when activating WooCommerce? Are you able to activate
      other plugins without any issues?
 * Yes, It occures only on woocommerce and I can able to activate other plugins 
   without any issue
    - Which server software are you using for your local environment?
 * I use XAMPP
   PHP 8.2.4 (cli) (built: Mar 14 2023 17:54:25) (ZTS Visual C++ 2019
   x64)Copyright (c) The PHP GroupZend Engine v4.2.4, Copyright (c) Zend Technologieswith
   Zend OPcache v8.2.4, Copyright (c), by Zend Technologies
    - Have you restarted all your services to see if this makes any difference?
 * Yes, I did many things, But nothing helped, Very Strange
    - Have you double-checked your firewall/proxy settings?
 * Yes, Everythings are ok, This problem is just with woocommerce
 * May be there is a database problem when activating woocommerce
   I remember that
   I modified one record of options table accidentally, But I don’t know where to
   find it, What is important there for preventing woocommerce activation?
 * Thank you all
    -  This reply was modified 2 years, 6 months ago by [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/).
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Block theme export has different code](https://wordpress.org/support/topic/block-theme-export-has-different-code/)
 *  Thread Starter [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/block-theme-export-has-different-code/#post-17397036)
 * [@waleedwali](https://wordpress.org/support/users/waleedwali/)
   Hi,
 * Thank you for your reply,
   I used The “Export” feature in the Site Editor to create
   a zip package,Do you mean this or something else?I need to create a ZIP package
   based on current modifieds,Do those plugins do such things?Could you please mention
   the links of plugins?Thank you for your help
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Strange problem when activating Woocommerce](https://wordpress.org/support/topic/strange-problem-when-activating-woocommerce/)
 *  Thread Starter [Farhad Sakhaei](https://wordpress.org/support/users/farhad0/)
 * (@farhad0)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/strange-problem-when-activating-woocommerce/#post-17396893)
 * Hi,
   [@carolm29](https://wordpress.org/support/users/carolm29/)Thank you for reply,
 * Yes, Everythings are in latest stable version,
   I was removed woocommerce tables
   and records in wp-options tables,
 * I install [Advanced Database Cleaner](https://wordpress.org/plugins/advanced-database-cleaner/)
   but it doesn’t display woocommerce in the options, it seems it is because i was
   removed woocommerce tables before
 * Still I can’t activate woocommerce and there isn’t error in error log at all 
   when I activate woocommerce, but a blank page displays when I activate it
 * Other plugins are disabled and i test using default WP themes
 * **The link of blank page is:**
   [http://localhost/wordpress/wp-admin/plugins.php?action=activate&plugin=woocommerce%2Fwoocommerce.php&plugin_status=all&paged=1&s&_wpnonce=7c1fb5b5bf](http://localhost/wordpress/wp-admin/plugins.php?action=activate&plugin=woocommerce%2Fwoocommerce.php&plugin_status=all&paged=1&s&_wpnonce=7c1fb5b5bf)
 * This site can’t be reached
   The connection was reset.Try:Checking the connection
    - Checking the proxy and the firewall
    - Running Windows Network Diagnostics
 * ERR_CONNECTION_RESET
 * Strange!!

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

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