Title: Creatium's Replies | WordPress.org

---

# Creatium

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[XML Sitemap & Google News] Custom type bug?](https://wordpress.org/support/topic/custom-type-bug/)
 *  Thread Starter [Creatium](https://wordpress.org/support/users/creatium/)
 * (@creatium)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/custom-type-bug/#post-15656733)
 * I sent you a message.
 * Custom post was added via traditional WP function to register custom post types.
   They are added and edited as custom posts in their own section in WP Admin – 
   meaning they seem to work as one would expect custom post to work.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[XML Sitemap & Google News] Custom type bug?](https://wordpress.org/support/topic/custom-type-bug/)
 *  Thread Starter [Creatium](https://wordpress.org/support/users/creatium/)
 * (@creatium)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/custom-type-bug/#post-15655539)
 * I see a lot of these errors in my log:
 *     ```
       PHP Fatal error:  require_once(): Failed opening required '/home/user/domains/domain.com/public_html/wp-content/plugins/xml-sitemap-feed/views/feed-sitemap-misc.php' (include_path='/home/user/domains/domain.com/public_html/wp-content/plugins/wp-media-folder-addon/class:/home/user/domains/domain.com/public_html/wp-content/plugins/wp-media-folder-addon/class:.:/usr/share/pear') in /home/user/domains/domain.com/public_html/wp-includes/template.php on line 770
   
       PHP Warning:  require_once(/home/user/domains/domain.com/public_html/wp-content/plugins/xml-sitemap-feed/views/feed-sitemap-pt.php): failed to open stream: No such file or directory in /home/user/domains/domain.com/public_html/wp-includes/template.php on line 770
       ```
   
 * As you see, WP Media Folder Addon plugin is mentioned in same error as your plugin.
   Could this be the reason? That plugin is used to connect uploads folder with 
   Amazon AWS. I tried disabling that plugin, but the problem did not solve itself.
   Same when disabled the main plugin WP Media Folders
 * Any way I could send you a link privately?
    -  This reply was modified 4 years, 1 month ago by [Creatium](https://wordpress.org/support/users/creatium/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Theme My Login] Login redirection issues](https://wordpress.org/support/topic/login-redirection-issues/)
 *  Thread Starter [Creatium](https://wordpress.org/support/users/creatium/)
 * (@creatium)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/login-redirection-issues/#post-15524535)
 * Searching through code I found tml_get_action_url filter, searched for it in 
   Google and found this question:[https://wordpress.org/support/topic/urls-under-login-and-register-forms/](https://wordpress.org/support/topic/urls-under-login-and-register-forms/)
 * Filtering out tml_get_action_url to add my custom lang prefix seems to solve 
   the error problem.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Ads – Ad Manager & AdSense] Manual placement on Archive](https://wordpress.org/support/topic/manual-placement-on-archive/)
 *  Thread Starter [Creatium](https://wordpress.org/support/users/creatium/)
 * (@creatium)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/manual-placement-on-archive/#post-15471160)
 * Hi. I have managed to fix my issue by adding another check in filter if statements:
 * `$query->is_main_query()`
 * This makes sure that filters are applied only to the main archive query and not
   any side queries (like sidebars and ad queries).
 * Thanks for you help, it was a good pointer.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Ads – Ad Manager & AdSense] Manual placement on Archive](https://wordpress.org/support/topic/manual-placement-on-archive/)
 *  Thread Starter [Creatium](https://wordpress.org/support/users/creatium/)
 * (@creatium)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/manual-placement-on-archive/#post-15470229)
 * Worth noting is that in search.php I also use similar filter to filter out results
   by custom table field. The problem is somehow with this specific line:
 * `$where .= " AND pm.custom_field IN (".$custom_values.")";`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Ads – Ad Manager & AdSense] Manual placement on Archive](https://wordpress.org/support/topic/manual-placement-on-archive/)
 *  Thread Starter [Creatium](https://wordpress.org/support/users/creatium/)
 * (@creatium)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/manual-placement-on-archive/#post-15470200)
 * No and yes. Enabling debug mode did nothing. But I went through my functions 
   and some of them were to adjust archive and search results (to also query custom
   table for specific field).
 * These functions look like this:
 *     ```
       function archive_search_join( $join ) {
           global $pagenow, $wpdb;
   
           if ((is_search() || is_archive()) && !is_admin() && 'edit.php' !== $pagenow) {    
               $join .=' LEFT JOIN '.$wpdb->prefix.'customtable pm ON '. $wpdb->posts . '.ID = pm.post_id ';
           }
   
           return $join;
       }
       add_filter('posts_join', 'archive_search_join' );
       ```
   
 * And this one does the trouble (disabling it – ads start showing up):
 *     ```
       function archive_search_where( $where ) {
           global $pagenow, $wpdb;
           $custom_values = "'value 1', 'value 2'";
   
           if(is_archive() && !is_admin() && 'edit.php' !== $pagenow) {
       	$where .= " AND pm.custom_field IN (".$custom_values.")"; 
           }
   
           return $where;
       }
       add_filter( 'posts_where', 'archive_search_where', 10 );
       ```
   
 * So probably my filters are intercepting ad queries and causing the issue of ads
   not being found.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Ads – Ad Manager & AdSense] Manual placement on Archive](https://wordpress.org/support/topic/manual-placement-on-archive/)
 *  Thread Starter [Creatium](https://wordpress.org/support/users/creatium/)
 * (@creatium)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/manual-placement-on-archive/#post-15470135)
 * I am using a theme created by myself, pure html, css and jquery, no builders.
 * And yes, correct file. I have added a sample text inside
    `if( function_exists('
   the_ad_placement') )` and it shows up. But ads dont. And again, tried to add 
   this code in other files, like single.php and they work. Also strangely enough
   they work in search.php file.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Ads – Ad Manager & AdSense] Manual placement on Archive](https://wordpress.org/support/topic/manual-placement-on-archive/)
 *  Thread Starter [Creatium](https://wordpress.org/support/users/creatium/)
 * (@creatium)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/manual-placement-on-archive/#post-15467831)
 * Hi. Thanks for a reply.
 * Since I’m using manual placement, I tried to add it in the top of archive.php
   file (next to get_header(), but still not working. Also tried just out of “if
   have_posts()”. I wasn’t trying to add it inside while loop if that’s what you
   meant.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions] No response Stripe webhook](https://wordpress.org/support/topic/no-response-stripe-webhook/)
 *  Thread Starter [Creatium](https://wordpress.org/support/users/creatium/)
 * (@creatium)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/no-response-stripe-webhook/#post-15240573)
 * Hi. This seems to have solved the issue. Tried to resend events and they succeeded.
 * Will let you know if it stops working.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions] No response Stripe webhook](https://wordpress.org/support/topic/no-response-stripe-webhook/)
 *  Thread Starter [Creatium](https://wordpress.org/support/users/creatium/)
 * (@creatium)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/no-response-stripe-webhook/#post-15235629)
 * No it does not. I am able to view webhook through Incognito mode on Chrome and
   I see the same message.
 * I also now tried to disable current hook and create new one. Still same issues.
   Though orders from my website are coming through (I tested myself).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions] No response Stripe webhook](https://wordpress.org/support/topic/no-response-stripe-webhook/)
 *  Thread Starter [Creatium](https://wordpress.org/support/users/creatium/)
 * (@creatium)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/no-response-stripe-webhook/#post-15234663)
 * When checking out webhook, this is shown:
 * `Logged On: 01/10/2022 10:25:13 No event ID given. -------------`
 * In Stripe logs, I see one 401 Error today with response body like this:
 *     ```
       {
         "error": {
           "code": "reauthentication_required",
           "message": "Please log in again to complete this action.",
           "message_code": "reauthentication_required",
           "type": "invalid_request_error"
         }
       }
       ```
   
 * During a invoice.payment_succeeded call Stripe shows “No response body”. Not 
   sure what else I could check.
 * Edit: Worth noting that we have changed our server during the holiday period (
   before problems started occurring). Maybe this could be related?
    -  This reply was modified 4 years, 5 months ago by [Creatium](https://wordpress.org/support/users/creatium/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [changes users password when admin edit](https://wordpress.org/support/topic/changes-users-password-when-admin-edit/)
 *  [Creatium](https://wordpress.org/support/users/creatium/)
 * (@creatium)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/changes-users-password-when-admin-edit/#post-14595804)
 * Similar thread, same problem: [https://wordpress.org/support/topic/edit-user-password-changed/#post-14595238](https://wordpress.org/support/topic/edit-user-password-changed/#post-14595238)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Iptanus File Upload] Media approval](https://wordpress.org/support/topic/media-approval/)
 *  Thread Starter [Creatium](https://wordpress.org/support/users/creatium/)
 * (@creatium)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/media-approval/#post-14216509)
 * Thank you for reply.
 * Could you elaborate if this approval system is live inside the plugin? Because
   I installed a free version to check it and did not find it. Or maybe its in paid
   version (but did not see that in description too)?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multiple Domain Mapping on Single Site] Links not changing and 404 posts not found](https://wordpress.org/support/topic/links-not-changing-and-404-posts-not-found/)
 *  Thread Starter [Creatium](https://wordpress.org/support/users/creatium/)
 * (@creatium)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/links-not-changing-and-404-posts-not-found/#post-13431313)
 * Hi. Still waiting for help.
 * Looks like the problem occurs only when I setup my secondary domain to link to
   specific page. So in settings:
 * http[s]://domain2com => [https://domain1.com/mypage](https://domain1.com/mypage)
 * This works for home page and when visiting domain2.com I see ‘mypage’ as homepage.
   However if I try to go to other pages, I keep getting 404 error. If I remove 
   this setting and just keep this:
 * http[s]://domain2.com => [https://domain1.com/](https://domain1.com/)
 * Then everything works. So to me it looks like your plugin is trying to redirect
   all pages to domain1.com/mypage even when I am going to domain2.com/myanotherpage
   it tries to open domain1.com/mypage/myanotherpage. Probably, Im not sure. But
   it def. looks like it. By default it probably should redirect only the homepage,
   not all other pages.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multiple Domain Mapping on Single Site] Mapped pages not appearing in Yoast XML sitemap](https://wordpress.org/support/topic/mapped-pages-not-appearing-in-yoast-xml-sitemap/)
 *  [Creatium](https://wordpress.org/support/users/creatium/)
 * (@creatium)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/mapped-pages-not-appearing-in-yoast-xml-sitemap/#post-13431312)
 * Omg, yes, sorry. I just clicked on the wrong thread to post my message. Have 
   my own opened.

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

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