Forum Replies Created

Viewing 15 replies - 46 through 60 (of 599 total)
  • Thread Starter cfm168

    (@cfm168)

    Hello,

    I have WP6.8, theme version 4.9. Deactivated all plugins by Health check plugin test, the php warning issue persists.

    Thread Starter cfm168

    (@cfm168)

    Hi @guicmazeredo,

    Yes re-install seems working. Thanks a lot.

    Thread Starter cfm168

    (@cfm168)

    Deactivated 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


    1. image_get_intermediate_size(325, Array)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:236

    2. image_downsize(325, Array)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:970

    3. wp_get_attachment_image_src(325, Array, false)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:1062

    4. wp_get_attachment_image(325, Array)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php:104

    5. include(‘/home/SorryHidedmysite…’)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/template-loader.php:106

    6. require_once(‘/home/SorryHidedmysite…’)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-blog-header.php:19

    7. require(‘/home/SorryHidedmysite…’)
      /home/SorryHidedmysite/SorryHidedmysite.com/index.php:17

    8. {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

    Thread Starter cfm168

    (@cfm168)

    Deactivated 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


    1. image_get_intermediate_size(325, Array)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:236

    2. image_downsize(325, Array)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:970

    3. wp_get_attachment_image_src(325, Array, false)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:1062

    4. wp_get_attachment_image(325, Array)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php:104

    5. include(‘/home/SorryHidedmysite…’)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/template-loader.php:106

    6. require_once(‘/home/SorryHidedmysite…’)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-blog-header.php:19

    7. require(‘/home/SorryHidedmysite…’)
      /home/SorryHidedmysite/SorryHidedmysite.com/index.php:17

    8. {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

    Thread Starter cfm168

    (@cfm168)

    The error disappeared for unknown reason. Thank you!

    Thread Starter cfm168

    (@cfm168)

    The error disappeared for unknown reason. Thank you!

    Thread Starter cfm168

    (@cfm168)

    I 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 40

    Thread Starter cfm168

    (@cfm168)

    Deactivated 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}

    Thread Starter cfm168

    (@cfm168)

    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!

    Thread Starter cfm168

    (@cfm168)

    I 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 39

    Apr 05, 16:10:36
    Warning: Undefined array key “height” in /home/SorryHidedmysitesfactory/SorryHidedmysitesfactory.com/wp-content/themes/twentyeleven/image.php on line 40

    Hope theme author to update soon.

    Thread Starter cfm168

    (@cfm168)

    Also 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


    1. image_get_intermediate_size(456, Array)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:236

    2. image_downsize(456, Array)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:970

    3. wp_get_attachment_image_src(456, Array, false)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:1062

    4. wp_get_attachment_image(456, Array)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php:104

    5. include(‘/home/SorryHidedmysite…’)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/template-loader.php:106

    6. require_once(‘/home/SorryHidedmysite…’)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-blog-header.php:19

    7. require(‘/home/SorryHidedmysite…’)
      /home/SorryHidedmysite/SorryHidedmysite.com/index.php:17

    8. {main}
      thrown in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php on line 795

    The above error log found when all plugins are activated.

    Thread Starter cfm168

    (@cfm168)

    Hello @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 39

    Mar 30, 10:59:43
    Warning: Undefined array key “height” in /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 40

    Log file: /home/SorryHidedmysite/php-errors.log (341 bytes)

    Hopefully you will have new update for it soon. Please advise. Thanks!

    Thread Starter cfm168

    (@cfm168)

    Hello @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


    1. image_get_intermediate_size(456, Array)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:236

    2. image_downsize(456, Array)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:970

    3. wp_get_attachment_image_src(456, Array, false)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:1062

    4. wp_get_attachment_image(456, Array)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php:104

    5. include(‘/home/chopstick…’)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/template-loader.php:106

    6. require_once(‘/home/chopstick…’)
      /home/SorryHidedmysite/SorryHidedmysite.com/wp-blog-header.php:19

    7. require(‘/home/chopstick…’)
      /home/SorryHidedmysite/SorryHidedmysite.com/index.php:17

    8. {main}
      thrown in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php on line 795
    9. Mar 22, 12:59:50
    10. Warning: Undefined array key “width” in /home/SorryHidedmysite/SorryHidedmysite.com/wp-content/themes/twentyeleven/image.php on line 39
    11. Mar 22, 12:59:50
    12. 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!

    Thread Starter cfm168

    (@cfm168)

    Hi @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.

    Thread Starter cfm168

    (@cfm168)

    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!

Viewing 15 replies - 46 through 60 (of 599 total)