cfm168
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Eleven] php warning issueHello,
I have WP6.8, theme version 4.9. Deactivated all plugins by Health check plugin test, the php warning issue persists.
Hi @guicmazeredo,
Yes re-install seems working. Thanks a lot.
Forum: Themes and Templates
In reply to: [Twenty Eleven] Fatal error: twentyeleven/image.php:104Deactivated all plugins including woocommerce, the error persists:
Apr 12, 02:30:34
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:795
Stack Trace
image_get_intermediate_size(325, Array)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:236
image_downsize(325, Array)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:970
wp_get_attachment_image_src(325, Array, false)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:1062
wp_get_attachment_image(325, Array)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php:104
include(‘/home/SorryHidedmysite…’)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/template-loader.php:106
require_once(‘/home/SorryHidedmysite…’)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-blog-header.php:19
require(‘/home/SorryHidedmysite…’)
/home/SorryHidedmysite/SorryHidedmysite.com/index.php:17
{main}
thrown in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php on line 795
Apr 11, 15:31:02
Warning: Undefined array key “width” in /home/SorryHidedmysitesSorryHidedmysite/SorryHidedmysitesSorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 39
Apr 11, 15:31:02
Warning: Undefined array key “height” in /home/SorryHidedmysitesSorryHidedmysite/SorryHidedmysitesSorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 40
Forum: Themes and Templates
In reply to: [Twenty Eleven] Critical Uncaught TypeErrorDeactivated all plugins including woocommerce, the error persists:
Apr 12, 02:30:34
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:795
Stack Trace
image_get_intermediate_size(325, Array)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:236
image_downsize(325, Array)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:970
wp_get_attachment_image_src(325, Array, false)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:1062
wp_get_attachment_image(325, Array)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php:104
include(‘/home/SorryHidedmysite…’)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/template-loader.php:106
require_once(‘/home/SorryHidedmysite…’)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-blog-header.php:19
require(‘/home/SorryHidedmysite…’)
/home/SorryHidedmysite/SorryHidedmysite.com/index.php:17
{main}
thrown in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php on line 795
Apr 11, 15:31:02
Warning: Undefined array key “width” in /home/SorryHidedmysitesSorryHidedmysite/SorryHidedmysitesSorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 39
Apr 11, 15:31:02
Warning: Undefined array key “height” in /home/SorryHidedmysitesSorryHidedmysite/SorryHidedmysitesSorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 40
Forum: Plugins
In reply to: [WooCommerce] fatal-errors-2025-04-03The error disappeared for unknown reason. Thank you!
Forum: Plugins
In reply to: [WooCommerce PayPal Payments] Fatal errorThe error disappeared for unknown reason. Thank you!
Forum: Themes and Templates
In reply to: [Twenty Eleven] Critical Uncaught TypeErrorI use Health check plugin and deactivated all plugins including woocommerce, still get the following errors:
[07-Apr-2025 07:16:08 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:795
Stack trace: 0 /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php(236): image_get_intermediate_size(311, Array) 1 /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php(970): image_downsize(311, Array) 2 /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php(1062): wp_get_attachment_image_src(311, Array, false) 3 /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php(104): wp_get_attachment_image(311, Array) 4 /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/template-loader.php(106): include(‘/home/SorryHidedmysite…’) 5 /home/SorryHidedmysite/SorryHidedmysite.com/wp-blog-header.php(19): require_once(‘/home/SorryHidedmysite…’) 6 /home/SorryHidedmysite/SorryHidedmysite.com/index.php(17): require(‘/home/SorryHidedmysite…’) 7 {main}thrown in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php on line 795
[07-Apr-2025 11:51:31 UTC] PHP Warning: Undefined array key “width” in /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 39
[07-Apr-2025 11:51:31 UTC] PHP Warning: Undefined array key “height” in /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 40
[07-Apr-2025 12:45:31 UTC] PHP Warning: Undefined array key “width” in /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 39
[07-Apr-2025 12:45:31 UTC] PHP Warning: Undefined array key “height” in /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 40
[07-Apr-2025 13:26:09 UTC] PHP Warning: Undefined array key “width” in /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 39
[07-Apr-2025 13:26:09 UTC] PHP Warning: Undefined array key “height” in /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 40
[07-Apr-2025 13:34:31 UTC] PHP Warning: Undefined array key “width” in /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 39
[07-Apr-2025 13:34:31 UTC] PHP Warning: Undefined array key “height” in /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 40
[07-Apr-2025 13:42:07 UTC] PHP Warning: Undefined array key “width” in /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 39
[07-Apr-2025 13:42:07 UTC] PHP Warning: Undefined array key “height” in /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 40Deactivated all plugins including Woocommerce still get the following errors:
[06-Apr-2025 12:18:26 UTC] Exception: Invalid API endpoint. in /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/plugins/mailpoet/lib/API/JSON/API.php:193
Stack trace: 0 /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/plugins/mailpoet/lib/Subscription/Form.php(33): MailPoet\API\JSON\API->processRoute() 1 /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/class-wp-hook.php(324): MailPoet\Subscription\Form->onSubmit(Array) 2 /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 3 /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 4 /home/SorryHidedmysite/SorryHidedmysite.com/wp-admin/admin-post.php(61): do_action(‘admin_post_nopr…’) 5 {main}Hi @simplysaru,
Thank you for your response. I used the Health Check plugin and tested (deactivated all plugins including woocommerce), the error persists:
[06-Apr-2025 12:18:26 UTC] Exception: Invalid API endpoint. in /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/plugins/mailpoet/lib/API/JSON/API.php:193
Stack trace:
0 /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/plugins/mailpoet/lib/Subscription/Form.php(33): MailPoet\API\JSON\API->processRoute()
1 /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/class-wp-hook.php(324): MailPoet\Subscription\Form->onSubmit(Array)
2 /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
3 /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
4 /home/SorryHidedmysite/SorryHidedmysite.com/wp-admin/admin-post.php(61): do_action(‘admin_post_nopr…’)
5 {main}
This is only error content I found from php-error.log file. Please help. Thanks!
Forum: Themes and Templates
In reply to: [Twenty Eleven] php warning issueI have theme version 4.8, WP 6.7.2 . Deactivated all plugins after 6 hours so far found the errors related to the theme:
Apr 05, 16:10:36
Warning: Undefined array key “width” in /home/SorryHidedmysitesfactory/SorryHidedmysitesfactory.com/wp-content/themes/twentyeleven/image.php on line 39Apr 05, 16:10:36
Warning: Undefined array key “height” in /home/SorryHidedmysitesfactory/SorryHidedmysitesfactory.com/wp-content/themes/twentyeleven/image.php on line 40Hope theme author to update soon.
Forum: Themes and Templates
In reply to: [Twenty Eleven] Critical Uncaught TypeErrorAlso get this error everyday:
Apr 04, 16:33:20
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:795
Stack Trace
image_get_intermediate_size(456, Array)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:236
image_downsize(456, Array)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:970
wp_get_attachment_image_src(456, Array, false)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:1062
wp_get_attachment_image(456, Array)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php:104
include(‘/home/SorryHidedmysite…’)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/template-loader.php:106
require_once(‘/home/SorryHidedmysite…’)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-blog-header.php:19
require(‘/home/SorryHidedmysite…’)
/home/SorryHidedmysite/SorryHidedmysite.com/index.php:17
{main}
thrown in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php on line 795
The above error log found when all plugins are activated.
Forum: Themes and Templates
In reply to: [Twenty Eleven] php warning issueHello @jordesign,
Yes, this error still occurs when I have no plugins activated on the site. Currently I have WP6.7.2, WC Version 9.7.1, Twenty Eleven Version: 4.8.
The error log as below:
Mar 30, 10:59:43
Warning: Undefined array key “width” in /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 39Mar 30, 10:59:43
Warning: Undefined array key “height” in /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 40Log file: /home/SorryHidedmysite/php-errors.log (341 bytes)
Hopefully you will have new update for it soon. Please advise. Thanks!
Forum: Themes and Templates
In reply to: [Twenty Eleven] php warning issueHello @sabernhardt,
I got his fatal error log today:
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:795
Stack Trace
image_get_intermediate_size(456, Array)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:236
image_downsize(456, Array)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:970
wp_get_attachment_image_src(456, Array, false)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:1062
wp_get_attachment_image(456, Array)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php:104
include(‘/home/chopstick…’)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/template-loader.php:106
require_once(‘/home/chopstick…’)
/home/SorryHidedmysite/SorryHidedmysite.com/wp-blog-header.php:19
require(‘/home/chopstick…’)
/home/SorryHidedmysite/SorryHidedmysite.com/index.php:17
{main}
thrown in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php on line 795- Mar 22, 12:59:50
- Warning: Undefined array key “width” in /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 39
- Mar 22, 12:59:50
- Warning: Undefined array key “height” in /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 40
Can you please advise with a code that for my child theme to avoid the above issues?
Thanks in advance!
Forum: Themes and Templates
In reply to: [Twenty Eleven] php warning issueHi @sabernhardt,
Thank you so much for your help. I will try with your Snippet and see.
Hope the theme author can say something here or make an update.
Hi @vupdraft,
Thank you for your response. Please see site url screenshot: https://ibb.co/93S91p3L
Please do not put site url here when you follow up and advising. Thanks!