diegpl
Forum Replies Created
-
Forum: Plugins
In reply to: [Asaas Gateway for WooCommerce] Undefined array key “billing_cellphone”Eu acho que também tem um erro nessa parte:
[06-Sep-2024 13:00:26 UTC] PHP Warning: Undefined array key “asaas_cc_installments” in /wp-content/plugins/woo-asaas/includes/installments/gateway/class-payment-installments.php on line 73Yes, I know that is while logged, but taking db queries with no reason, slowing down the performance. In every single page these queries are happening…
Forum: Plugins
In reply to: [Pagar.me para WooCommerce] Problema de performance no Migrator.phpEssa fun??o também está correndo em todo lugar sem motivo e pesando bastante a performance do db:
Woocommerce\P\C\WoocommerceDatabaseDecorator->doFetch()
Teriam alguma previs?o de arrumar isso para eu come?ar a indicá-los aos meus clientes? Obrigado.
SELECT?FOUND_ROWS()
WP_User_Query->query()
wp-includes/class-wp-user-query.php:859WP_User_Query->__construct()
wp-includes/class-wp-user-query.php:80Google\S\C\A\Has_Multiple_Admins->get()
wp-content/plugins/google-site-kit/includes/Core/Authentication/Has_Multiple_Admins.php:65Google\S\C\A\Authentication->Google\S\C\A\{closure}()
wp-content/plugins/google-site-kit/includes/Core/Authentication/Authentication.php:1065WP_REST_Server->respond_to_request()
wp-includes/rest-api/class-wp-rest-server.php:1188WP_REST_Server->dispatch()
wp-includes/rest-api/class-wp-rest-server.php:1035rest_do_request()
wp-includes/rest-api.php:545rest_preload_api_request()
wp-includes/rest-api.php:2911array_reduce()
wp-includes/rest-api.php:2911Google\S\C\A\Assets->Google\S\C\A\{closure}()
wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php:396Google\S\C\A\Script_Data->Google\S\C\A\{closure}()
wp-content/plugins/google-site-kit/includes/Core/Assets/Script_Data.php:51Google\S\C\A\Asset->before_print()
wp-content/plugins/google-site-kit/includes/Core/Assets/Asset.php:129Google\S\C\A\Assets->run_before_print_callbacks()
wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php:1016Google\S\C\A\Assets->run_before_print_callbacks()
wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php:1025Google\S\C\A\Assets->run_before_print_callbacks()
wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php:1025Google\S\C\A\Assets->run_before_print_callbacks()
wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php:1025Google\S\C\A\Assets->Google\S\C\A\{closure}()
wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php:155do_action('wp_print_scripts')
wp-includes/plugin.php:517wp_print_head_scripts()
wp-includes/script-loader.php:2177do_action('wp_head')
wp-includes/plugin.php:517wp_head()
wp-includes/general-template.php:3053load_template('wp-content/themes/esites/header.php')
wp-includes/template.php:785locate_template()
wp-includes/template.php:720get_header('shop')
wp-includes/general-template.php:48
That is another one.
Esse é um print da tela, que mostra a fun??o nativa funcionando corretamente ??
https://ibb.co/r20GZWVForum: Plugins
In reply to: [Melhor Envio] Erro de php acerca do Optional parameter $packageSe fa?o isso, o plugin se quebra, ent?o, como corrigir o warning, por favor? Obrigado.
A minha também está assim e depois vai para cancelado e n?o acho o lugar de configurar o webhoook do dashboard do site do pagar.me. Alguém sabe o que devo fazer? Obrigado.
Por favor, também remova isso de class-wc-woocommerce-init.php linha 277 ele duplica o aviso, quem também n?o era para ficar aparecendo para sempre:
//add_action( ‘woocommerce_settings_checkout’, array( CLASS, ‘mp_show_admin_notices’ ) );
Vocês n?o est?o prestando suporte ao plugin? Já tem um tempo que apontei coisas simples aqui de serem consertadas, e ainda fica uma viso eterno no site, que n?o sai nunca, vcs s?o melhores do que isso ??
Forum: Plugins
In reply to: [Index WP MySQL For Speed] Does this plugin work with wp multisite?There are these two errors showing up in Query Monitor plugin as well:
strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated
- wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___FieldTitle.php:33
strip_tags()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___FieldTitle.php:33Imfs_AdminPageFramework_Form_View___FieldTitle->get()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___FieldsetRow.php:36Imfs_AdminPageFramework_Form_View___FieldsetTableRow->_getFieldByContainer()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___FieldsetRow.php:29Imfs_AdminPageFramework_Form_View___FieldsetTableRow->get()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___FieldsetRows.php:40Imfs_AdminPageFramework_Form_View___FieldsetRows->_getFieldsetRow()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___FieldsetRows.php:34Imfs_AdminPageFramework_Form_View___FieldsetRows->get()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___Section.php:44Imfs_AdminPageFramework_Form_View___Section->_getSectionContent()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___Section.php:35Imfs_AdminPageFramework_Form_View___Section->get()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___Sectionsets.php:113Imfs_AdminPageFramework_Form_View___Sectionsets->_getSectionTableWithTabList()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___Sectionsets.php:79Imfs_AdminPageFramework_Form_View___Sectionsets->_getSectionsetTable()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___Sectionsets.php:58Imfs_AdminPageFramework_Form_View___Sectionsets->_getSectionsetsTables()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___Sectionsets.php:41Imfs_AdminPageFramework_Form_View___Sectionsets->_getFormOutput()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___Sectionsets.php:27Imfs_AdminPageFramework_Form_View___Sectionsets->get()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/AdminPageFramework_Form.php:257Imfs_AdminPageFramework_Form_View->get()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/_view/AdminPageFramework_View__PageRenderer.php:79Imfs_AdminPageFramework_View__PageRenderer->_getFormOutput()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/_view/AdminPageFramework_View__PageRenderer.php:68Imfs_AdminPageFramework_View__PageRenderer->_printMainPageContent()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/_view/AdminPageFramework_View__PageRenderer.php:31Imfs_AdminPageFramework_View__PageRenderer->render()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/AdminPageFramework.php:466Imfs_AdminPageFramework_View_Page->_renderPage()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/AdminPageFramework.php:462Imfs_AdminPageFramework_View_Page->_replyToRenderPage()
wp-includes/class-wp-hook.php:308do_action('tools_page_imfs_settings')
wp-admin/admin.php:259
explode(): Passing null to parameter #2 ($string) of type string is deprecated
- wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/utility/base_utility/AdminPageFramework_Utility.php:570
explode()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/utility/base_utility/AdminPageFramework_Utility.php:570Imfs_AdminPageFramework_Utility_HTMLAttribute::getStyleAttribute()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/field_type/AdminPageFramework_FieldType_color.php:123Imfs_AdminPageFramework_FieldType_Base->getLabelContainerAttributes()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/field_type/AdminPageFramework_FieldType_default.php:10Imfs_AdminPageFramework_FieldType_default->_replyToGetField()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/fieldset/AdminPageFramework_Form_View___Fieldset.php:145Imfs_AdminPageFramework_Form_View___Fieldset->_getEachFieldOutput()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/fieldset/AdminPageFramework_Form_View___Fieldset.php:134Imfs_AdminPageFramework_Form_View___Fieldset->_getFieldsOutput()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/fieldset/AdminPageFramework_Form_View___Fieldset.php:128Imfs_AdminPageFramework_Form_View___Fieldset->get()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___CollapsibleSectionTitle.php:25Imfs_AdminPageFramework_Form_View___Section_Base->getFieldsetOutput()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___FieldsetRow.php:38Imfs_AdminPageFramework_Form_View___FieldsetTableRow->_getFieldByContainer()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___FieldsetRow.php:29Imfs_AdminPageFramework_Form_View___FieldsetTableRow->get()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___FieldsetRows.php:40Imfs_AdminPageFramework_Form_View___FieldsetRows->_getFieldsetRow()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___FieldsetRows.php:34Imfs_AdminPageFramework_Form_View___FieldsetRows->get()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___Section.php:44Imfs_AdminPageFramework_Form_View___Section->_getSectionContent()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___Section.php:35Imfs_AdminPageFramework_Form_View___Section->get()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___Sectionsets.php:113Imfs_AdminPageFramework_Form_View___Sectionsets->_getSectionTableWithTabList()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___Sectionsets.php:79Imfs_AdminPageFramework_Form_View___Sectionsets->_getSectionsetTable()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___Sectionsets.php:58Imfs_AdminPageFramework_Form_View___Sectionsets->_getSectionsetsTables()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___Sectionsets.php:41Imfs_AdminPageFramework_Form_View___Sectionsets->_getFormOutput()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___Sectionsets.php:27Imfs_AdminPageFramework_Form_View___Sectionsets->get()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/form/AdminPageFramework_Form.php:257Imfs_AdminPageFramework_Form_View->get()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/_view/AdminPageFramework_View__PageRenderer.php:79Imfs_AdminPageFramework_View__PageRenderer->_getFormOutput()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/_view/AdminPageFramework_View__PageRenderer.php:68Imfs_AdminPageFramework_View__PageRenderer->_printMainPageContent()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/_view/AdminPageFramework_View__PageRenderer.php:31Imfs_AdminPageFramework_View__PageRenderer->render()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/AdminPageFramework.php:466Imfs_AdminPageFramework_View_Page->_renderPage()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/AdminPageFramework.php:462Imfs_AdminPageFramework_View_Page->_replyToRenderPage()
wp-includes/class-wp-hook.php:308do_action('tools_page_imfs_settings')
wp-admin/admin.php:259
Forum: Plugins
In reply to: [Index WP MySQL For Speed] Does this plugin work with wp multisite?After tried again, I got some slow queries from this function:
ImfsDb->get_results()
wp-content/plugins/index-wp-mysql-for-speed/code/imsfdb.php:114ImfsDb->getTableCounts()
wp-content/plugins/index-wp-mysql-for-speed/code/imsfdb.php:99ImfsDb->init()
wp-content/plugins/index-wp-mysql-for-speed/code/imsfdb.php:52ImfsPage->populate()
wp-content/plugins/index-wp-mysql-for-speed/code/admin.php:998ImfsPage->load_imfs_settings()
wp-content/plugins/index-wp-mysql-for-speed/code/admin.php:977do_action('load_imfs_settings')
wp-includes/plugin.php:517Imfs_AdminPageFramework_WPUtility_Hook::addAndDoAction()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/utility/wp_utility/AdminPageFramework_WPUtility.php:277Imfs_AdminPageFramework_WPUtility_Hook::addAndDoActions()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/utility/wp_utility/AdminPageFramework_WPUtility.php:261Imfs_AdminPageFramework_Factory_Router->_load()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/_common/_abstract/AdminPageFramework_Factory.php:54Imfs_AdminPageFramework_Router->_doPageLoadCall()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/AdminPageFramework.php:68Imfs_AdminPageFramework_Router->__call()
wp-content/plugins/index-wp-mysql-for-speed/afp/factory/admin_page/AdminPageFramework.php:49do_action('current_screen')
wp-includes/plugin.php:517WP_Screen->set_current_screen()
wp-admin/includes/class-wp-screen.php:424set_current_screen()
wp-admin/includes/screen.php:243
Forum: Plugins
In reply to: [Index WP MySQL For Speed] Does this plugin work with wp multisite?Cool, tks man! ??
But I tried to activate and check its page in /wp-admin/tools.php?page=imfs_settings and it just loaded forever. Should I try to activate it just through database and avoid checking its settings page?I see, but if I set just one key for all websites it will not work then? For sure? Because this would speed things up a lot ??
Please, also fix this one: “Return type of MercadoPago\PP\Sdk\Common\AbstractCollection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice” in wp-content/plugins/woocommerce-mercadopago/packages/sdk/src/Common/AbstractCollection.php:64 changing this:
public function getIterator() { return new \ArrayIterator($this->collection); }
for
public function getIterator(): \Traversable { return new \ArrayIterator($this->collection); }
stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated
- wp-content/plugins/google-site-kit/includes/Core/REST_API/REST_Routes.php:69
stripos()
wp-content/plugins/google-site-kit/includes/Core/REST_API/REST_Routes.php:69Google\S\C\R\REST_Routes->Google\S\C\R\{closure}()
wp-includes/class-wp-hook.php:308apply_filters('query_vars')
wp-includes/class-wp.php:299WP->parse_request()
wp-includes/class-wp.php:780WP->main()
wp-includes/functions.php:1334wp()
wp-blog-header.php:16
Please, change this code:
$unset_vars = ( $wp->request && stripos( $wp->request, trailingslashit( rest_get_url_prefix() ) . self::REST_ROOT ) !== false ) // Check regular permalinks. || ( empty( $wp->request ) && stripos( $this->context->input()->filter( INPUT_GET, 'rest_route' ), self::REST_ROOT ) !== false ); // Check plain permalinks.
For this one as well:
$unset_vars = ( $wp->request && stripos( (string) $wp->request, trailingslashit( rest_get_url_prefix() ) . self::REST_ROOT ) !== false ) // Check regular permalinks. || ( empty( $wp->request ) && stripos( (string) $this->context->input()->filter( INPUT_GET, 'rest_route' ), self::REST_ROOT ) !== false ); // Check plain permalinks.
Tks! ??