Title: Error for PHP 8.1
Last modified: March 9, 2023

---

# Error for PHP 8.1

 *  [nutttaro](https://wordpress.org/support/users/nutttaro/)
 * (@nutttaro)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/error-for-php-8-1/)
 * Hello there,
 * I got an error on PHP 8.1, please see the error message blow.
 *     ```wp-block-code
       [08-Mar-2023 03:18:30 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/wp-content/plugins/elementor-pro/modules/loop-builder/module.php on line 200
       ```
   
    -  This topic was modified 3 years, 2 months ago by [nutttaro](https://wordpress.org/support/users/nutttaro/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Elementor Team](https://wordpress.org/support/users/ozyeger/)
 * (@ozyeger)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/error-for-php-8-1/#post-16544758)
 * Hi,Since you are an Elementor Pro user, you can open a support ticket at <a href
   =”[http://my.elementor.com”>my.elementor.com</a&gt](http://my.elementor.com”>my.elementor.com</a&gt);.
   I’d also suggest you check out our Elementor Community forum, we have created
   it to connect Elementor users together and share knowledge, <a href=”[http://my.elementor.com”>my.elementor.com</a&gt](http://my.elementor.com”>my.elementor.com</a&gt);.
   WordPress.org rules state that <a href=”[https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products”>commercial](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products”>commercial)
   products are not supported here</a>.
 *  [gmariani405](https://wordpress.org/support/users/gmariani405/)
 * (@gmariani405)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/error-for-php-8-1/#post-16588614)
 * I think you tried to copy paste your reply but it came in really mangled. Came
   here to see if anyone else had the same issue, I see I’m not the only one.
 *     ```wp-block-code
       PHP: 2023-03-21 11:58:55 [notice X 0][/chroot/home/REDACTED/html/wp-content/plugins/elementor-pro/modules/loop-builder/module.php::200] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated [array (
         'trace' => '
       #0: Elementor\Core\Logger\Manager -> shutdown()
       ',
       )]
       ```
   
 *  [mchobbelman](https://wordpress.org/support/users/mchobbelman/)
 * (@mchobbelman)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/error-for-php-8-1/#post-16599124)
 * The same error is returned as part of the WP-CLI output.
 * Example CLI call
 *     ```wp-block-code
       wp option get blogname
       ```
   
 * Example output
 *     ```wp-block-code
       My Blog
       PHP: 2023-03-27 17:06:17 [notice X 0][/bitnami/wordpress/wp-content/plugins/elementor-pro/modules/loop-builder/module.php::200] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated [array (
         'trace' => '
       #0: Elementor\Core\Logger\Manager -> shutdown()
       ',
       )]
       ```
   
 *  [floo214](https://wordpress.org/support/users/floo214/)
 * (@floo214)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/error-for-php-8-1/#post-16602595)
 * Same output on my website [http://www.L214.com](http://www.L214.com)
 *  [volghan](https://wordpress.org/support/users/volghan/)
 * (@volghan)
 * [3 years ago](https://wordpress.org/support/topic/error-for-php-8-1/#post-16750737)
 * Same error on my site
 * PHP 8.1
 * [19-May-2023 08:12:42 UTC] PHP Deprecated: strpos(): Passing null to parameter#
   1 ($haystack) of type string is deprecated in /home/***.org/public_html/wp-content/
   plugins/elementor-pro/modules/loop-builder/module.php on line 200

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error for PHP 8.1’ is closed to new replies.

 * ![](https://ps.w.org/elementor/assets/icon-256x256.gif?rev=3444228)
 * [Elementor Website Builder - more than just a page builder](https://wordpress.org/plugins/elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementor/reviews/)

 * 5 replies
 * 6 participants
 * Last reply from: [volghan](https://wordpress.org/support/users/volghan/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/error-for-php-8-1/#post-16750737)
 * Status: not a support question