• Resolved Angellive

    (@silasveta2012)


    Hello, thank you for your creativity, after the last update of my theme I received outdated PHP errors. Is it possible to fix this somehow? Thank you

    Устаревшее	strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated	
    wp-content/themes/blocksy/inc/components/blocks/blocks-fallback.php:16
    strpos()
    wp-content/themes/blocksy/inc/components/blocks/blocks-fallback.php:16
    Blocksy\BlocksFallback->render_block()
    wp-includes/class-wp-hook.php:324
    apply_filters('render_block')
    wp-includes/class-wp-block.php:510
    WP_Block->render()
    wp-includes/blocks.php:1705
    render_block()
    wp-includes/blocks.php:1577
    excerpt_remove_blocks()
    wp-content/plugins/wp-youtube-lyte/wp-youtube-lyte.php:632
    lyte_trim_excerpt()
    wp-includes/class-wp-hook.php:324
    apply_filters('get_the_excerpt')
    wp-includes/post-template.php:434
    get_the_excerpt()
    wp-content/themes/blocksy/inc/template-tags.php:73
    blocksy_entry_excerpt()
    wp-content/themes/blocksy/inc/components/archive/archive-card.php:444
    blocksy_render_archive_card()
    wp-content/themes/blocksy/inc/components/archive/helpers.php:99
    blocksy_render_archive_cards()
    wp-content/themes/blocksy/template-parts/archive.php:53
    load_template('wp-content/themes/blocksy/template-parts/archive.php')
    wp-includes/template.php:745
    locate_template()
    wp-includes/general-template.php:206
    get_template_part('template-parts/archive')
    wp-content/themes/blocksy/archive.php:17

    System

    Server architecture Linux 6.1.0-21-cloud-amd64 x86_64
    Web server software nginx/1.27.0
    PHP Version 8.2.20 (Supports 64-bit values)
    PHP SAPI fpm-fcgi

    https://mega.nz/file/gGEikaBL#svJhQXOMHPvUZmhi_wh1HZEPK-3ba5AYA_WlXraoPEg

    https://mega.nz/file/ZS8SzBTJ#Rp6t7y3ovpL9qxrTmlpVG8_Th4ezj0snmTg3nP_6jiI

    • This topic was modified 5 months ago by Angellive.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    as the problem occurred when updating the theme and as the problem is with a strpos() in a theme file (blocksy/inc/components/blocks/blocks-fallback.php), I’m afraid you’ll have to get in touch with the theme developers first and foremost Angellive? they _should_ check if the haystack is empty and not use strpos if so?

    Thread Starter Angellive

    (@silasveta2012)

    Okay, thank you, I’ve already written to them, let’s see what they say and see if they can send you a message ??

    Thread Starter Angellive

    (@silasveta2012)

    Hello, they sent me the beta theme and it has been fixed. Thank you for your attention and all the best!

    • This reply was modified 5 months ago by Angellive.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    happy read so! ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.