Title: FlexOrder's Replies | WordPress.org

---

# FlexOrder

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

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

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Dark Mode - Improve Accessibility with AI Powered Dark Theme] Constant FILTER_SANITIZE_STRING is deprecated](https://wordpress.org/support/topic/constant-filter_sanitize_string-is-deprecated-3/)
 *  [FlexOrder](https://wordpress.org/support/users/ordersyncplugin/)
 * (@ordersyncplugin)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/constant-filter_sanitize_string-is-deprecated-3/#post-16581694)
 * Hi,
   The **deprecated FILTER_SANITIZE_STRING** constant is clearly at plugin WP
   SEO News in _/home/technopa/public\_html/wp-content/plugins/wpseo-news/classes/
   meta-box.php_ on line 59. So, you may either disable it or contact the plugin
   support.
 * And the memory issue indicates that your PHP script has exhausted the allowed
   memory size limit. This can happen when your script requires more memory than
   is allocated by default or when there is a memory leak in your code.
 * To solve this issue, you can try the following steps:
    1. Increase the memory limit: You can try increasing the memory limit by adding
       the following code to your wp-config.php file: `define( 'WP_MEMORY_LIMIT', '
       256M' );` This will increase the memory limit to 256MB. If this doesn’t work,
       you can try increasing it further.
    2. Check for memory leaks: If increasing the memory limit doesn’t solve the issue,
       you should check your code for memory leaks. Look for any loops or recursive
       functions that might be causing the issue.
    3. Optimize your code: You can also optimize your code to reduce memory usage. 
       Use efficient data structures, avoid unnecessary queries or data processing,
       and make sure to close any database connections when you are finished with them.
    4. Use a caching plugin: You can also use a caching plugin to improve your website’s
       performance and reduce memory usage.
 * If none of these solutions work, you might need to consider upgrading your hosting
   plan or consulting with a developer for further assistance.

Viewing 1 replies (of 1 total)