wp_edu
Forum Replies Created
-
Forum: Plugins
In reply to: [Code Snippets] Error 500 when updating snippetsOkay, installing v3.4.2 and updating didn’t do the trick, but running the code
\Code_Snippets\DB::create_table( 'wp_snippets' );
on my functions.php worked. Now I can save, disable, enable my snippets normally with v3.5.0
Thanks for the help- This reply was modified 1 year, 1 month ago by wp_edu.
Forum: Plugins
In reply to: [Code Snippets] Error 500 when updating snippetsHi guys, is that code supposed to go into our theme’s functions.php?
It is a rather different code, we’re not used to codes that begin like that.\Code_Snippets\DB::create_table( 'wp_snippets' );
Thanks for the support.
Forum: Plugins
In reply to: [Code Snippets] Error 500 when updating snippetsThere is a lot of information that we prefer not to share in the Site Health site info.
But I believe this is really a problem with the plugin, seems like there is a database column or field called ‘revision’ which does not exist and is generating the error. It seems to be related to the latest changes in the plugin.
The version 3.4.1 works fine.Forum: Plugins
In reply to: [Code Snippets] Error 500 when updating snippetsHi, I uptaded again via Dashboard, same problem returns. Reverted back to 3.4.1.
Here is the log of the error:
2023/09/22 00:38:28 [error] 66051#66051: *1854610 FastCGI sent in stderr: “PHP message: WordPress database error Unknown column ‘revision’ in ‘field list’ for query INSERT INTOwp_snippets
(name
,description
,code
,tags
,scope
,priority
,active
,modified
,revision
,cloud_id
) VALUES (‘New snippet’, ”, ‘$test = \”Testing\”;’, ”, ‘global’, ’10’, ‘1’, ‘2023-09-22 00:38:28’, ‘2’, NULL) made by require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, Code_Snippets\REST_API\Snippets_REST_Controller->create_item, Code_Snippets\save_snippet” while reading response header from upstream, client: 189.96.229.146, server: https://www.xxxxxxxx.com.br, request: “POST /wp-json/code-snippets/v1/snippets HTTP/2.0”, upstream: “xxxxxxxxxxxx.sock:”, host: “www.xxxxxxxx.com.br:xxxx”, referrer: “https://www.xxxxxxxx.com.br/wp-admin/admin.php?page=add-snippet”It seems like the newest version tries to save to a column that does not exist in the database.
Forum: Plugins
In reply to: [License Manager for WooCommerce] Deprecated function style in PHP 8Thanks!
Forum: Plugins
In reply to: [License Manager for WooCommerce] Deprecated function style in PHP 8For the moment, I’m fixing this by changing the following code in line 25:
protected function response($success, $data, $code = 200, $route) { return new WP_REST_Response(...
With:
protected function response($success, $data, $code, $route) { if ( $code == null ){ $code = 200; } return new WP_REST_Response(...
Please let me know if you think it will generate any problems on lmfwc.
Thanks,
EduForum: Plugins
In reply to: [License Manager for WooCommerce] Customer “reveal code” confirmationThanks, can’t wait for that.
I don’t think so. But it’s okay, I believe we will find the problem as we continue to search and debug here. The plugin has worked well for a long time, so it must have been some uptade on other plugins on our site.
Forum: Plugins
In reply to: [Advanced Dynamic Pricing for WooCommerce] Customize price templateI ended up using the codes and functions from your documentation, and it all works very well. Thank you for the support!
I see that the actions are scheduled correctly with the WP Crontrol plugin.
But I have noticed two strange behaviors which prevent WPO form working:
When I start preload, I get a window with the error: An unexpected response was received. Then it runs for some tens of urls, and stops counting.
After some a minute or two creating cached pages, the cache is completely purged automatically. I have no idea why this is happening.
Any insights about why the cache is being purged automatically like this? And what I can look for, to start preload without this error message?
Thanks
- This reply was modified 2 years ago by wp_edu. Reason: simplified and added the correct error message
Forum: Plugins
In reply to: [Advanced Dynamic Pricing for WooCommerce] Customize price templateI just submitted the ticket.
I used the functions you sent, but the same result happens. The plugin returns the price display to the default price html without my modifications, when a rule is matched in catalog or single product pages.
I’m sure you guys can help to find out why this happens in the support ticket. Thanks a lot.
Forum: Plugins
In reply to: [Advanced Dynamic Pricing for WooCommerce] Customize price templateThanks, it should be a way to fix our issue.
I believe my current implementation is done in a different way and we might have to change it to be in conformity with how other plugins use the price html.
This issue is surely a matter of how we made our custom price display, because the plugin is actually replacing our customization with the default price display we had before.
The plugin is really good, we will surely get the PRO version soon. Congratulations.
Forum: Plugins
In reply to: [Advanced Dynamic Pricing for WooCommerce] Customize price templateUnfortunately that did not work.
What I need is to be able to add a second line, with a 15% reduced price, below any price display that the plugin does on the website.
Is it possible with your support?
Hi, thank you for the prompt response. Actually, my question is about your plugin’s behavior, not really related to Woocommerce.
I could try to go through the whole code to understand how the plugin fetches this information and uses it for sync, but it’s usually easier to ask the developers what filter/hook we can use, because the developer usually has that answer ready for the users.
I hope the devs of this plugin can help, because depending on the theme, and even on default WP themes, the information being sent to facebook are not matching the fields available on facebook shop/API.
Oh now I inderstand what is happening.
Well, I want to block a valid user who tries to make fraud on my ecommerce.
How do you suggest I block this user with Wordfence?
The info you gave me should have been added to the feature description when you click on the ? Icon near this feature on Wordfence All Options page. The info on the website is not specific about ignoring valid usernames, so I would never figure this out by myself.
In this case, my suggestion does not work and I still need to block the user, can Wordfence WAF help with this? I have the paid version.
Thank you