mafsdisseny
Forum Replies Created
-
OK, yes it helps,
Thank you.
Forum: Plugins
In reply to: [WP-Members Membership Plugin] I’m getting a php warning messageOK, that was the point.
The api keys where missing. Thanks for your support!
Regards.Forum: Plugins
In reply to: [Animations for Blocks] stagger elementsHi, thank you very much for your guidance! Very useful, I didn’t know about WP_HTML_Tag_Processor.
I was writing an incredible long answer haha, but I finally find the solution by myself: It was the priority value of the filter, I changed it to 10 and works, whil in 9 it didn’t work.
BTW, I make it more specific by adding a css class “staggered-posts” to the post template block, and checking that class in the conditional statement.&& ! empty( $block['attrs']['className'] )
&& 'staggered-posts' === $block['attrs']['className']Hi Kim, it will be great if there’s a filter that can get access to other roles to check the subscribers list. Just point me in the right way, and I will write the code necessary to get it work.
Thanks.
Forum: Plugins
In reply to: [cformsII] What happens with my_cforms_actionOh great!
I suggest you to add this information in the error message, replacing:
trigger_error(‘my_cforms_action is useless since cformsII version 14.14.’, E_USER_DEPRECATED);
by
trigger_error(‘my_cforms_action is useless since cformsII version 14.14. You can use cforms2_after_processing_action instead’, E_USER_DEPRECATED);Many thanks!
Forum: Plugins
In reply to: [DK PDF] PHP errorsHi @saqibnoor, I has the same problem as you, and I solved it enabling the “mbstring module” (necessary for the mpdf php class that is using this plugin). If you don’t have access to your server’s php configuration, ask your hosting provider.
For more info:
https://www.php.net/manual/en/mbstring.installation.phpFor more info about mbstring and mpdf:
https://github.com/mpdf/mpdf/issues/272I hope it helps you!
Forum: Plugins
In reply to: [Contact Form 7] Form only submits when logged inHi @edgecliffroad, I have exactly the same problem that you describe.
I solve it, adding this code in functions.php:
add_filter( 'wpcf7_load_js', '__return_false' );
What is causing this, are some security improvements made in CF7 v4.8. Since that version, CF7 utilizes WP REST API to AJAX updates. If you take a look at the console log, you will see that it tries to access to wp-json directory, with no success.
There are other solutions, like modify the .htaccess file to allow access to that directory, but I think that the easiest is the one that I told you first.
If anyone has a better solution, please share it in this message.
Thanks,
Good luck!Hi @leapmkt12, the easiest way to achieve it, is logging into your hosting control panel, and simply change the folder permissions to 755.
If 755 don’t do the trick, you can set the uploads permissions temporarily to 777 (just for testing purposes) and see what happens. If the problem solves, then ask to your hosting provider to fix it.
Hope it helps!
Forum: Plugins
In reply to: [Polylang] Double URL problemThere’s nothing to apologize!
You are welcome!Forum: Plugins
In reply to: [Polylang] Double URL problemAs I appointed here:
I solved it, immediately, by installing the plugin polylang-slug.
Again, perhaps it is time to fix this issue directly from the original plugin polylang?
Forum: Plugins
In reply to: [Activity Log - Monitor & Record User Changes] Filter $menu_capabilityThank you Maor!
I think that a filter to change the capability (now “edit_pages”) would be a good way to complete the customization possibilities.Forum: Plugins
In reply to: [Custom Post Type UI] Setting cpt as not publicly_queryableAh ok!
I was looking for a “publicly_queryable” dropdown, as there’s a “public” argument also in the “register_post_type” function.
I’ve seen that the “exclude_from_search”, “show_in_nav_menus” and “show_ui” can be controlled afterwards.
Thanks for your quick clarification!
Forum: Plugins
In reply to: [Activity Log - Monitor & Record User Changes] Filter $menu_capabilityThanks for your quick reply, I think that I did not explain my doubt well.
What I try to do, is decide, through a filter, which role can see the log (and therefore which role can see the “activity log” in the backend menu).
In my case, I need to change “edit_pages” with “manage_options” because I have declared two different administrator levels through custom roles, and the capability “manage_options” is one of the differences between both.
Thanks!
Forum: Plugins
In reply to: [Polylang] Error when pages have exactly the same nameHi all,
if someone has the same problem:
I solved it, immediately, by installing the plugin polylang-slug.Since there are plenty of people who are demanding a solution, perhaps it is time to fix this issue directly from the original plugin polylang?
Anyway, thanks for this extraordinary free plugin!
Forum: Plugins
In reply to: [Polylang] array_intersect_key(): Argument #1 is not an array, model.php:400Hi, did you resolve the problem?
I have exactly the same problem, after importing a xml file with some pages from another installation. Well not exactly, because in my warning says line 402, and in yours line 400…Warning: array_intersect_key(): Argument #1 is not an array in /.../wp-content/plugins/polylang/include/model.php on line 402
Please any help will be appreciated.