Creatium
Forum Replies Created
-
Forum: Plugins
In reply to: [XML Sitemap & Google News] Custom type bug?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
In reply to: [XML Sitemap & Google News] Custom type bug?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 770As 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 ago by Creatium.
Forum: Plugins
In reply to: [Theme My Login] Login redirection issuesSearching through code I found tml_get_action_url filter, searched for it in Google and found this question:https://ww.wp.xz.cn/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
In reply to: [Advanced Ads – Ad Manager & AdSense] Manual placement on ArchiveHi. 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
In reply to: [Advanced Ads – Ad Manager & AdSense] Manual placement on ArchiveWorth 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
In reply to: [Advanced Ads – Ad Manager & AdSense] Manual placement on ArchiveNo 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
In reply to: [Advanced Ads – Ad Manager & AdSense] Manual placement on ArchiveI 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
In reply to: [Advanced Ads – Ad Manager & AdSense] Manual placement on ArchiveHi. 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.
Hi. This seems to have solved the issue. Tried to resend events and they succeeded.
Will let you know if it stops working.
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).
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, 4 months ago by Creatium.
Forum: Fixing WordPress
In reply to: changes users password when admin editSimilar thread, same problem: https://ww.wp.xz.cn/support/topic/edit-user-password-changed/#post-14595238
Forum: Plugins
In reply to: [Iptanus File Upload] Media approvalThank 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)?
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
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/
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.
Omg, yes, sorry. I just clicked on the wrong thread to post my message. Have my own opened.