cfm168
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Eleven] PHP errorI installed the health check plugin but it doesn’t work.
https://wordpress.org/support/topic/plugin-does-not-give-health-check-options/#post-16572673
Forum: Plugins
In reply to: [Health Check & Troubleshooting] Plugin does not give Health Check options.Same to me.
Forum: Themes and Templates
In reply to: [Twenty Eleven] PHP error@zoonini – Thank you for your explanation again. I just understand temporarily deactivates plugins no effect to my live site by using the Health Check plugin. I will delete the Debug Bar plugin and use the Health Check plugin instead. Will let you know. Thank you!
Forum: Themes and Templates
In reply to: [Twenty Eleven] PHP error@thelmachido – Thank you for your advise. Temporarily deactivate all plugins will causes my live site loose business. I have to wait 1 day for each plugin to get error log report if it is good one. I have more than 20 plugins so I will loose 20 days business.
Forum: Themes and Templates
In reply to: [Twenty Eleven] PHP errorHi @zoonini,
Still get these php error log:
[Mar 09, 20:55:28] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/SorryHided/SorryHided.com/wp-includes/media.php:779
Stack trace:
image_get_intermediate_size(312, Array) /home/SorryHided/SorryHided.com/wp-includes/media.php:234
image_downsize(312, Array) /home/SorryHided/SorryHided.com/wp-includes/media.php:954
wp_get_attachment_image_src(312, Array, false) /home/SorryHided/SorryHided.com/wp-includes/media.php:1032
wp_get_attachment_image(312, Array) /home/SorryHided/SorryHided.com/wp-content/themes/twentyeleven/image.php:104
include(‘/home/xxx…’) /home/SorryHided/SorryHided.com/wp-includes/template-loader.php:106
require_once(‘/home/xxx…’) /home/SorryHided/SorryHided.com/wp-blog-header.php:19
require(‘/home/xxx…’) /home/SorryHided/SorryHided.com/index.php:17
{main}
thrown in /home/SorryHided/SorryHided.com/wp-includes/media.php on line 779
[Mar 09, 20:56:58] PHP Warning: Attempt to read property “ID” on null in /home/SorryHided/SorryHided.com/wp-includes/link-template.php on line 405I still try to find the conflict by Debug Bar.
Hello @sergecleantalk,
Thank you for quick response. I have the latest version 6.4.1. I did follow your instructions. Will see if the issue removed.
Forum: Plugins
In reply to: [Debug Bar] Questions before adding in wp-config.phpI can see already have one (‘WP_DEBUG’, false).
Can I add another define(‘WP_DEBUG’, true); for your plugin?
Forum: Plugins
In reply to: [MailPoet - Newsletters, Email Marketing, and Automation] PHP errorThank you @danielinhou, See below hope this helps:
Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/SorryHided/SorryHided.com/wp-content/plugins/woo-conditional-discount-rules-for-checkout-hold/includes/class-woocommerce-dynamic-pricing-and-discount.php on line 190
SorryHidedy.com/wp-content/plugins/woo-conditional-product-fees-for-checkout/includes/class-woocommerce-conditional-product-fees-for-checkout.php:160) in /home/SorryHided/SorryHided.com/wp-content/plugins/mailpoet/lib/Util/Cookies.php on line 35
Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Cookie/Jar.php on line 63
Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Cookie/Jar.php on line 73
Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Cookie/Jar.php on line 89
Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Cookie/Jar.php on line 102
Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Cookie/Jar.php on line 111
Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40
Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51
Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68
Forum: Themes and Templates
In reply to: [Twenty Eleven] PHP error@zoonini – I installed the Debug Bar and turned my existing the ‘WP_DEBUG’, true’.
I don’t see the error like yours, but I can see 5 warnings and 1 notice report from the Debug. By the way I can see some Deprecated notices on top of my site for public:
Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Cookie/Jar.php on line 63 Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Cookie/Jar.php on line 73 Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Cookie/Jar.php on line 89 Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Cookie/Jar.php on line 102 Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Cookie/Jar.php on line 111 Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40 Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51 Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68 Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82 Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/SorryHided/SorryHided.com/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91 SorryHidedy.com/wp-content/plugins/woo-conditional-product-fees-for-checkout/includes/class-woocommerce-conditional-product-fees-for-checkout.php:160) in /home/SorryHided/SorryHided.com/wp-content/plugins/docket-cache/includes/src/Plugin.php on line 1183 SorryHidedy.com/wp-content/plugins/woo-conditional-product-fees-for-checkout/includes/class-woocommerce-conditional-product-fees-for-checkout.php:160) in /home/SorryHided/SorryHided.com/wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php on line 556 SorryHidedy.com/wp-content/plugins/woo-conditional-product-fees-for-checkout/includes/class-woocommerce-conditional-product-fees-for-checkout.php:160) in /home/SorryHided/SorryHided.com/wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php on line 557Forum: Themes and Templates
In reply to: [Twenty Eleven] PHP errorI am asking Debug Bar plugin support and waiting reply from them.
I can see I already have define( ‘WP_DEBUG’, false ); in my wp-config.php. If I add again and turn on it will cause any conflict?
Forum: Themes and Templates
In reply to: [Twenty Eleven] PHP error@zoonini – I updated the child theme to the latest woocommerce template core 7.4.0. Incompatibel Woocommerce template issue resolved.
Back to the beginning issue still persists:
[Feb 20, 18:35:53] PHP Warning: Undefined array key “width” in /home/SorryHided/SorryHided.com/wp-content/themes/twentyeleven/image.php on line 39
[Feb 20, 18:35:53] PHP Warning: Undefined array key “height” in /home/SorryHided/SorryHided.com/wp-content/themes/twentyeleven/image.php on line 40
[Feb 20, 19:01:02] PHP Warning: Undefined array key “width” in /home/SorryHided/SorryHided.com/wp-content/themes/twentyeleven/image.php on line 39
[Feb 20, 19:01:02] PHP Warning: Undefined array key “height” in /home/SorryHided/SorryHided.com/wp-content/themes/twentyeleven/image.php on line 40
[Feb 20, 19:19:44] PHP Warning: Attempt to read property “ID” on null in /home/SorryHided/SorryHided.com/wp-includes/link-template.php on line 405
[Feb 20, 19:19:44] PHP Warning: Attempt to read property “ID” on null in /home/SorryHided/SorryHided.com/wp-includes/link-template.php on line 405
[Feb 20, 19:19:44] PHP Warning: Attempt to read property “ID” on null in /home/SorryHided/SorryHided.com/wp-includes/link-template.php on line 405
[Feb 20, 19:19:44] PHP Warning: Attempt to read property “ID” on null in /home/SorryHided/SorryHided.com/wp-includes/link-template.php on line 405
[Feb 20, 19:19:44] PHP Warning: Attempt to read property “ID” on null in /home/SorryHided/SorryHided.com/wp-includes/link-template.php on line 405Forum: Themes and Templates
In reply to: [Twenty Eleven] PHP error@zoonini – I get this alert from admin saying theme contains outdated woocommerce template. See below:
Your theme (Twenty Eleven Child) contains outdated copies of some WooCommerce template files. These files may need updating to ensure they are compatible with the current version of WooCommerce. Suggestions to fix this:
- Update your theme to the latest version. If no update is available contact your theme author asking about compatibility with the current WooCommerce version.
2. If you copied over a template file to change something, then you will need to copy the new version of the template and apply your changes again.
Overrides: twentyeleven-child/woocommerce/emails/customer-completed-order.php,
twentyeleven-child/woocommerce/emails/email-styles.php version 4.0.0 is out of date. The core version is 7.4.0Is it possible to have a new release to update your theme to solve this issue? Please advise. Thanks in advance!
Forum: Themes and Templates
In reply to: [Twenty Eleven] PHP errorHi @zoonini – Yes, I’m using WooCommerce. This is the first time related to child theme. I contacted the plugin author but he explanted:
“yes, the key is related to the plugin, but the script that is raising it is part of a child theme. It seems you defined a custom function in the functions.php file that is part of “twentyeleven-child” theme.
You should give a look at that function and make sure it is not accessing an undefined index of the array that seems processing. Support service doesn’t cover assistance for custom-defined functions.”
Hope you can help.
Anyway, the first reported php errors are still happening every couple hours:
Warning: Attempt to read property “ID” on null in /home/SorryHided/SorryHided.com/wp-includes/link-template.php on line 405
Feb 08, 17:58:09
Warning: Undefined array key “width” in /home/SorryHided/SorryHided.com/wp-content/themes/twentyeleven/image.php on line 39Feb 08, 17:58:09
Warning: Undefined array key “height” in /home/SorryHided/SorryHided.com/wp-content/themes/twentyeleven/image.php on line 40I will try the conflict testing. Thanks in advance!
Forum: Themes and Templates
In reply to: [Twenty Eleven] PHP errorI got this error first time related to the child-theme: Warning: Undefined array key “_wcst_order_trackno” in /home/SorryHided/SorryHided.com/wp-content/themes/twentyeleven-child/functions.php on line 122
It seems you/me defined a custom function in the functions.php file that is part of “twentyeleven-child” theme.
Can you help with is?
Note: I have not yet do the conflict testing.
Forum: Plugins
In reply to: [Contact Form 7] No mail receive after update to PHP8.1Sorry, all are working. Mails were landed to spam folder.