profpanda
Forum Replies Created
-
Forum: Plugins
In reply to: [Kayo Bruno - Braspress for WooCommerce] O plugin ainda funciona?Olhando o Log achei essas 3 mensagens:
[14-Jun-2022 14:41:13 UTC] weight was called incorrectly. As propriedades do produto n?o devem ser acessadas diretamente. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_update_order_review'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::update_order_review, WC_Cart->calculate_shipping, WC_Shipping->calculate_shipping, WC_Shipping->calculate_shipping_for_package, WC_Shipping_Method->get_rates_for_package, KB_WooCommerce_Braspress_Shipping_Method->calculate_shipping, KB_WooCommerce_Braspress_Shipping_Method->get_rate, KB_WooCommerce_Braspress_Shipping_Method->get_total_weight, KB_WooCommerce_Braspress_Shipping_Method->measures_extract, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0. [14-Jun-2022 14:41:13 UTC] height was called incorrectly. As propriedades do produto n?o devem ser acessadas diretamente. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_update_order_review'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::update_order_review, WC_Cart->calculate_shipping, WC_Shipping->calculate_shipping, WC_Shipping->calculate_shipping_for_package, WC_Shipping_Method->get_rates_for_package, KB_WooCommerce_Braspress_Shipping_Method->calculate_shipping, KB_WooCommerce_Braspress_Shipping_Method->get_rate, KB_WooCommerce_Braspress_API->get_shipping, KB_WooCommerce_Braspress_API->get_cubage, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0. [14-Jun-2022 14:41:13 UTC] width was called incorrectly. As propriedades do produto n?o devem ser acessadas diretamente. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_update_order_review'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::update_order_review, WC_Cart->calculate_shipping, WC_Shipping->calculate_shipping, WC_Shipping->calculate_shipping_for_package, WC_Shipping_Method->get_rates_for_package, KB_WooCommerce_Braspress_Shipping_Method->calculate_shipping, KB_WooCommerce_Braspress_Shipping_Method->get_rate, KB_WooCommerce_Braspress_API->get_shipping, KB_WooCommerce_Braspress_API->get_cubage, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
Forum: Plugins
In reply to: [Kayo Bruno - Braspress for WooCommerce] O plugin ainda funciona?Olá, o sistema n?o está retornando nenhum frete para nenhum CEP no Brasil, estou na calculadora e ele n?o retorna nada, apenas a mensagem “Nenhuma op??o de entrega foi encontrada para 03432-020.”, ja tentei outros ceps e nada. Verifiquei no CONSOLE e n?o aparece nenhum erro. Já habilitei o debug do WP e também nada de diferente lá.
I send a mail to CPGuard in the link you sent me. I expect other do the same so the Foundation seems that is really a false positive.
so, the problem is inside this array.
public $aDefaults = array(‘option_updated’ => ‘The options have been updated.’, ‘option_cleared’ => ‘The options have been cleared.’, ‘export’ => ‘Export’, ‘export_options’ => ‘Export Options’, ‘import’ => ‘Import’, ‘import_options’ => ‘Import Options’, ‘submit’ => ‘Submit’, ‘import_error’ => ‘An error occurred while uploading the import file.’, ‘uploaded_file_type_not_supported’ => ‘The uploaded file type is not supported: %1$s’, ‘could_not_load_importing_data’ => ‘Could not load the importing data.’, ‘imported_data’ => ‘The uploaded file has been imported.’, ‘not_imported_data’ => ‘No data could be imported.’, ‘upload_image’ => ‘Upload Image’, ‘use_this_image’ => ‘Use This Image’, ‘insert_from_url’ => ‘Insert from URL’, ‘reset_options’ => ‘Are you sure you want to reset the options?’, ‘confirm_perform_task’ => ‘Please confirm your action.’, ‘specified_option_been_deleted’ => ‘The specified options have been deleted.’, ‘nonce_verification_failed’ => ‘A problem occurred while processing the form data. Please try again.’, ‘check_max_input_vars’ => ‘Not all form fields could not be sent. Please check your server settings of PHP
max_input_vars
and consult the server administrator to increase the value.max input vars
: %1$s.$_POST
count: %2$s’, ‘send_email’ => ‘Is it okay to send the email?’, ’email_sent’ => ‘The email has been sent.’, ’email_scheduled’ => ‘The email has been scheduled.’, ’email_could_not_send’ => ‘There was a problem sending the email’, ‘title’ => ‘Title’, ‘author’ => ‘Author’, ‘categories’ => ‘Categories’, ‘tags’ => ‘Tags’, ‘comments’ => ‘Comments’, ‘date’ => ‘Date’, ‘show_all’ => ‘Show All’, ‘show_all_authors’ => ‘Show all Authors’, ‘powered_by’ => ‘Thank you for creating with’, ‘and’ => ‘and’, ‘settings’ => ‘Settings’, ‘manage’ => ‘Manage’, ‘select_image’ => ‘Select Image’, ‘upload_file’ => ‘Upload File’, ‘use_this_file’ => ‘Use This File’, ‘select_file’ => ‘Select File’, ‘remove_value’ => ‘Remove Value’, ‘select_all’ => ‘Select All’, ‘select_none’ => ‘Select None’, ‘no_term_found’ => ‘No term found.’, ‘select’ => ‘Select’, ‘insert’ => ‘Insert’, ‘use_this’ => ‘Use This’, ‘return_to_library’ => ‘Return to Library’, ‘queries_in_seconds’ => ‘%1$s queries in %2$s seconds.’, ‘out_of_x_memory_used’ => ‘%1$s out of %2$s MB (%3$s) memory used.’, ‘peak_memory_usage’ => ‘Peak memory usage %1$s MB.’, ‘initial_memory_usage’ => ‘Initial memory usage %1$s MB.’, ‘repeatable_section_is_disabled’ => ‘The ability to repeat sections is disabled.’, ‘repeatable_field_is_disabled’ => ‘The ability to repeat fields is disabled.’, ‘warning_caption’ => ‘Warning’, ‘allowed_maximum_number_of_fields’ => ‘The allowed maximum number of fields is {0}.’, ‘allowed_minimum_number_of_fields’ => ‘The allowed minimum number of fields is {0}.’, ‘add’ => ‘Add’, ‘remove’ => ‘Remove’, ‘allowed_maximum_number_of_sections’ => ‘The allowed maximum number of sections is {0}’, ‘allowed_minimum_number_of_sections’ => ‘The allowed minimum number of sections is {0}’, ‘add_section’ => ‘Add Section’, ‘remove_section’ => ‘Remove Section’, ‘toggle_all’ => ‘Toggle All’, ‘toggle_all_collapsible_sections’ => ‘Toggle all collapsible sections’, ‘reset’ => ‘Reset’, ‘yes’ => ‘Yes’, ‘no’ => ‘No’, ‘on’ => ‘On’, ‘off’ => ‘Off’, ‘enabled’ => ‘Enabled’, ‘disabled’ => ‘Disabled’, ‘supported’ => ‘Supported’, ‘not_supported’ => ‘Not Supported’, ‘functional’ => ‘Functional’, ‘not_functional’ => ‘Not Functional’, ‘too_long’ => ‘Too Long’, ‘acceptable’ => ‘Acceptable’, ‘no_log_found’ => ‘No log found.’, ‘method_called_too_early’ => ‘The method is called too early.’, ‘debug_info’ => ‘Debug Info’, ‘debug’ => ‘Debug’, ‘field_arguments’ => ‘Field Arguments’, ‘debug_info_will_be_disabled’ => ‘This information will be disabled whenWP_DEBUG
is set tofalse
inwp-config.php
.’, ‘section_arguments’ => ‘Section Arguments’, ‘click_to_expand’ => ‘Click here to expand to view the contents.’, ‘click_to_collapse’ => ‘Click here to collapse the contents.’, ‘loading’ => ‘Loading…’, ‘please_enable_javascript’ => ‘Please enable JavaScript for better user experience.’,);I try to modify the file AdminPageFramework_Message.php to find what the cGuard are thinking that is and malware injection, and after delete and get back many times, the problems seems to be in line 9, in the array of $aDefaults. Since I clean th entire array and led nothing there, the plugin start to work again.
I had the same problem and contacting my webserver, they said that the file was being deleted because itis suspect as a malware.
Here is the log malware and virus scan of my webserver:
#ID10316
Nome do arquivo: AdminPageFramework_Message.php
Caminho original: /home/profpanda/public_html/wp-content/plugins/amazon-auto-links/include/library/apf/factory/_common/_abstract/_model/AdminPageFramework_Message.php
Raz?o: Suspicious File
Defini??o: Injection
Tempo: 2020-09-01 13:30:02
Caminho da quarentena: /etc/cpguard/quarantine/639492980-AdminPageFramework_Message.php
Tamanho do arquivo: 11910 bytesThis happens after the last update of the plugin, and all the versions before the newest do the same problem.
How can you help fix it?
Forum: Plugins
In reply to: [Brazilian Market on WooCommerce] Problemas com Pessoa JuridicaSolucionei a quest?o. O nome da empresa era muito longo. Quando troquei o nome raz?o social para o nome fantasia da empresa, daí o processo funcionou.
Obrigado pela aten??o Cláudio.