Title: gasmas75's Replies | WordPress.org

---

# gasmas75

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] Database error](https://wordpress.org/support/topic/database-error-427/)
 *  Thread Starter [gasmas75](https://wordpress.org/support/users/gasmas75/)
 * (@gasmas75)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/database-error-427/#post-18772102)
 * Thank you for your fast reply. I would understand if that was a MySQL problem
   if there were more database errors for other queries irrelevant to Relevanssi.
   But all errors are from this plugin.
 * It doesn’t affect the website, the only concern is that it fills up the error
   log.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AdRotate Banner Manager] Adrotate_tracker causes MySql crash](https://wordpress.org/support/topic/adrotate_tracker-causes-mysql-crash/)
 *  Thread Starter [gasmas75](https://wordpress.org/support/users/gasmas75/)
 * (@gasmas75)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/adrotate_tracker-causes-mysql-crash/#post-17029083)
 * Hello Arnan,
 * Thank you for your quick response.
 * There is an average of 25k visitors per day and the plugin is serving about 20
   ads per page (banners on sidebar widget + in article groups). All of them are
   being tracked.
 * Thank you,
   Kostas
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced AJAX Product Filters] Category tree not showing](https://wordpress.org/support/topic/category-tree-not-showing/)
 *  Thread Starter [gasmas75](https://wordpress.org/support/users/gasmas75/)
 * (@gasmas75)
 * [3 years ago](https://wordpress.org/support/topic/category-tree-not-showing/#post-16655358)
 * I found the cause for the tree not displaying. Under settings -> Advanced -> 
   Page same as filter -> should be Default.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced AJAX Product Filters] Category tree not showing](https://wordpress.org/support/topic/category-tree-not-showing/)
 *  Thread Starter [gasmas75](https://wordpress.org/support/users/gasmas75/)
 * (@gasmas75)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/category-tree-not-showing/#post-16649779)
 * When I use the /shop the category tree displays correctly showing all shop’s 
   categories. When I am on any product category (with subcategories) I only get
   the root category without it’s tree
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced AJAX Product Filters] Category tree not showing](https://wordpress.org/support/topic/category-tree-not-showing/)
 *  Thread Starter [gasmas75](https://wordpress.org/support/users/gasmas75/)
 * (@gasmas75)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/category-tree-not-showing/#post-16649393)
 * Sorry for the late reply. No, no matter what I choose on the settings, I cannot
   display the hierarchy. Really puzzling.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AdRotate Banner Manager] Error create new group](https://wordpress.org/support/topic/error-create-new-group/)
 *  [gasmas75](https://wordpress.org/support/users/gasmas75/)
 * (@gasmas75)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/error-create-new-group/page/3/#post-16379152)
 * All seems normal now. Emptied the cache from CF also and all ads seem to display
   correct.
 * If something comes up I’ll start a new thread.
 * Thank you for the great support and greater plugin!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AdRotate Banner Manager] Error create new group](https://wordpress.org/support/topic/error-create-new-group/)
 *  [gasmas75](https://wordpress.org/support/users/gasmas75/)
 * (@gasmas75)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/error-create-new-group/page/3/#post-16376014)
 * Sorry for not being clear. It’s the latest version (5.10.1) that corrects the
   new Group issue, but didn’t correct the post injection issue.
 * Didn’t have these issues prior to 5.10
 * Thank you for your prompt support!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AdRotate Banner Manager] Error create new group](https://wordpress.org/support/topic/error-create-new-group/)
 *  [gasmas75](https://wordpress.org/support/users/gasmas75/)
 * (@gasmas75)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/error-create-new-group/page/3/#post-16375323)
 * Hi again. The update fixed the ‘Add new Group’ functionality, but still the post
   injection doesn’t work. I’ve tried to manually update the database, clear the
   cache and also re-create a group. When loading the post it shows but after a 
   refresh it disappears!
 * On the php error log I get a lot of the below:
 *     ```wp-block-code
       [15-Jan-2023 17:47:13 UTC] PHP Warning:  Attempt to read property "ID" on int in /web/***/public_html/wp-content/plugins/adrotate/adrotate-output.php on line 377
       [15-Jan-2023 19:08:36 UTC] PHP Warning:  Attempt to read property "ID" on int in /web/***/public_html/wp-content/plugins/adrotate/adrotate-output.php on line 377
       [15-Jan-2023 19:30:08 UTC] PHP Warning:  Attempt to read property "ID" on int in /web/***/public_html/wp-content/plugins/adrotate/adrotate-output.php on line 377
       ```
   
 * Any ideas?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AdRotate Banner Manager] Error create new group](https://wordpress.org/support/topic/error-create-new-group/)
 *  [gasmas75](https://wordpress.org/support/users/gasmas75/)
 * (@gasmas75)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/error-create-new-group/page/2/#post-16372498)
 * Hi [@adegans](https://wordpress.org/support/users/adegans/) .I’ve already tried
   manual updating after reading this thread and didn’t work. Also there isn’t any
   notification banner.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AdRotate Banner Manager] Error create new group](https://wordpress.org/support/topic/error-create-new-group/)
 *  [gasmas75](https://wordpress.org/support/users/gasmas75/)
 * (@gasmas75)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-create-new-group/page/2/#post-16369647)
 * The error shows also on my site. Using the latest 5.10 version. This didn’t occur
   before the update.
 * It’s only on group adverts. I can edit the previous ones but cannot create a 
   new. Also editing and saving a new group doesn’t show always the ads.
 * This is an error recorded on php error log:
 *     ```wp-block-code
       [13-Jan-2023 11:22:32 UTC] PHP Warning:  Attempt to read property "ID" on int in /web/***/public_html/wp-content/plugins/adrotate/adrotate-output.php on line 374
       ```
   
 * Also:
 *     ```wp-block-code
       [13-Jan-2023 11:17:49 UTC] WordPress database error Unknown column 'woo_cat' in 'field list' for query INSERT INTO ***_adrotate_groups (name, modus, swap, fallback, cat, cat_loc, cat_par, page, page_loc, page_par, woo_cat, woo_loc, bbpress, bbpress_loc, mobile, geo, wrapper_before, wrapper_after, gridrows, gridcolumns, admargin, admargin_bottom, admargin_left, admargin_right, adwidth, adheight, adspeed, repeat_impressions) VALUES ('', '0', '0', '0', '', '0', '0', '', '0', '0', '', '0', '', '0', '0', '0', '', '', '2', '2', '0', '0', '0', '0', '728', '90', '6000', 'Y') made by do_action('adrotate_page_adrotate-groups'), WP_Hook->do_action, WP_Hook->apply_filters, adrotate_manage_group, include('/plugins/adrotate/dashboard/publisher/groups-edit.php')
       ```
   
 * Also:
 *     ```wp-block-code
       [13-Jan-2023 11:17:40 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /web/***/public_html/wp-admin/includes/template.php:2584) in /web/***/public_html/wp-includes/pluggable.php on line 1416
       ```
   
    -  This reply was modified 3 years, 4 months ago by [gasmas75](https://wordpress.org/support/users/gasmas75/).
    -  This reply was modified 3 years, 4 months ago by [gasmas75](https://wordpress.org/support/users/gasmas75/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ReOrder Posts within Categories] Reorder not visible in front-end](https://wordpress.org/support/topic/reorder-not-visible-in-front-end/)
 *  Thread Starter [gasmas75](https://wordpress.org/support/users/gasmas75/)
 * (@gasmas75)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/reorder-not-visible-in-front-end/#post-15800085)
 * To reply to my own question:
    I used ‘meta_value’ and ‘meta_key’ in my query 
   along with some conditionals if the user selects a regular ‘category’ post.
 *     ```
       $order_by = ($instance['posts_orderby'] == 'menu_order') ? array('meta_value' => 'meta_id') : $instance['posts_orderby'] ;
       		$meta_key = ($instance['posts_orderby'] == 'menu_order') ? '_rpwc2' : NULL;
   
       		$posts = new WP_Query(apply_filters('el_posts_widget_query_args', array(
       			'post_type'					=> array('post'),
       			'post__not_in'				=> $dont_duplicate,
       			'tax_query' 				=> array(
   
       				'relation'				=> 'OR',
   
       				array(
       					'taxonomy'				=> 'category',
       					'field'					=> 'term_id',
       					'terms'					=> $instance['posts_cat_id'],
       				),
       				array(
       					'taxonomy'				=> 'featured',					
       					'operator'				=> 'EXISTS',
       					'field'					=> 'term_id',
       					'terms'					=> $instance['posts_cat_id'],
       				),
       			),
       			'posts_per_page'			=> $instance['posts_num'],
       			'orderby'					=> $order_by,
       			'order'						=> 'DESC',
       			'ignore_sticky_posts' 		=> true,
       			'no_found_rows' 			=> true,
       			'post_status'				=> 'publish',
       			'meta_key'					=> $meta_key,
       			'date_query' 				=> array(
       				array(
       					'after'				=> $instance['posts_time'],
       				)
       			)
       		)));
       ```
   
 * P.S. If someone wants to contribute to a cleaner or better code, please feel 
   free to do so.
    -  This reply was modified 3 years, 10 months ago by [gasmas75](https://wordpress.org/support/users/gasmas75/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WebinarPress – Webinar System for WordPress] Multisite integration](https://wordpress.org/support/topic/multisite-integration-5/)
 *  Thread Starter [gasmas75](https://wordpress.org/support/users/gasmas75/)
 * (@gasmas75)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/multisite-integration-5/#post-13740170)
 * Thank you you’ve been extremely helpful. I’ll give it a shot asap!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] PHP Fatal Error](https://wordpress.org/support/topic/php-fatal-error-223/)
 *  Thread Starter [gasmas75](https://wordpress.org/support/users/gasmas75/)
 * (@gasmas75)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-223/#post-13376768)
 * Hi [@donncha](https://wordpress.org/support/users/donncha/). The URLs are mostly
   single posts. I’ve disabled the plugin for the moment, but I still have it enabled
   on the dev site. I can monitor if you wish and give back the results.
    For the
   record since I disabled it the issues with 520 errors are gone.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ReOrder Posts within Categories] Order posts based on meta field](https://wordpress.org/support/topic/order-posts-based-on-meta-field/)
 *  Thread Starter [gasmas75](https://wordpress.org/support/users/gasmas75/)
 * (@gasmas75)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/order-posts-based-on-meta-field/#post-13125733)
 * Hi [@aurovrata](https://wordpress.org/support/users/aurovrata/),
    Thanks for 
   your suggestion. Indeed this could work (and it does actually). But I already
   have developed a plugin that uses a dropdown menu of meta values and the editors
   are already using (and populated the database) with these values. For the time
   being our editors are sorting the posts separately on each category. It’s pain
   but it works.
 * Thank you for your efforts and hopefully v3.0 will have this feature.
    All best,
   Kostas
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ReOrder Posts within Categories] Order posts based on meta field](https://wordpress.org/support/topic/order-posts-based-on-meta-field/)
 *  Thread Starter [gasmas75](https://wordpress.org/support/users/gasmas75/)
 * (@gasmas75)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/order-posts-based-on-meta-field/#post-13122486)
 * Thanks [@aurovrata](https://wordpress.org/support/users/aurovrata/) for your 
   input. I’m happy I gave a good idea, hope its implemented someday.
    Meanwhile
   I’ll work on a workaround. Thank you!

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

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