• We’re getting countless errors as follows as per PHP debug log:

    [22-Jan-2025 02:23:03 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /www/public_html/wp-includes/kses.php on line 1805
    [22-Jan-2025 02:23:03 UTC] PHP Warning: Attempt to read property “taxonomy” on null in /www/public_html/wp-content/plugins/ocean-extra/ocean-extra.php on line 746
    [22-Jan-2025 02:23:03 UTC] PHP Fatal error: Uncaught TypeError: ltrim(): Argument #1 ($string) must be of type string, WP_Error given in /www/public_html/wp-includes/formatting.php:4467
    Stack trace: 0 /www/public_html/wp-includes/formatting.php(4467): ltrim(Object(WP_Error)) 1 /www/public_html/wp-content/plugins/ocean-extra/ocean-extra.php(774): esc_url(Object(WP_Error)) 2 /www/public_html/wp-content/plugins/ocean-extra/ocean-extra.php(637): ocean_get_opengraph_url() 3 /www/public_html/wp-includes/class-wp-hook.php(324): Ocean_Extra::meta_tags(”) 4 /www/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 5 /www/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 6 /www/public_html/wp-includes/general-template.php(3064): do_action(‘wp_head’) 7 /www/public_html/wp-content/themes/oceanwp/header.php(15): wp_head() 8 /www/public_html/wp-includes/template.php(810): require_once(‘/home/customer/…’) 9 /www/public_html/wp-includes/template.php(745): load_template(‘/home/customer/…’, true, Array) 10 /www/public_html/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) 11 /www/public_html/wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php(9): get_header() 12 /www/public_html/wp-includes/template-loader.php(106): include(‘/home/customer/…’) 13 /www/public_html/wp-blog-header.php(19): require_once(‘/home/customer/…’) 14 /www/public_html/index.php(17): require(‘/home/customer/…’) 15 {main}

    thrown in /www/public_html/wp-includes/formatting.php on line 4467

    Please advise.

Viewing 1 replies (of 1 total)
  • Hello @deputt,

    Thank you for reaching out,

    Regarding the issue you raised on this topic, I could not reproduce it on my end, and other users have reported no similar issues.

    Kindly share the following info that could help us understand the issue you described better and hopefully help you resolve it:

    1. Detailed explanation of the issue you are experiencing; when did you first notice the problem occurring (after a particular update, using a specific device, etc), as well as the steps of you take that trigger the issue in case the problem is not constantly present on your website, especially on the frontend. You can attach screenshots or a short video of the issue.

    2. Explain to us step by step how we can reproduce the issue so we can recreate it somewhere other than your website.
    You can upload your files using one of the following online services:
    https://postimages.org
    https://imgbb.com
    https://loom.com
    https://drive.google.com

    3. To better understand the condition of your website and the issue you are encountering, kindly provide us with your system environment information. To do this, please go to WP Dashboard > Tools > Site Health > Info Tab and click on the button Copy site info to clipboard. You can send the information as code here or upload them to http://pastebin.com/ or https://gist.github.com/ and get an exclusive link: https://i.postimg.cc/fbjtkFyJ/image.png (you can remove your email address from the content).

    Before sending these, please make sure that:
    Everything on your website is running the latest versions (WP, theme, plugins).
    If possible, perform a basic troubleshooting checkup method and make sure the issue is related to our theme or plugin(s). To do this, deactivate all other plugins then activate them one by one and check for this issue. Continue doing this until you find what product is causing a conflict with our product. Then provide the details as explained above.

    Note: if you have any cache plugin or server cache(CDN / Browser Cache and Cookies and …), you need to clear its cache contents or disable them to see your changes.

    Please keep us posted.

    Thank you,
    Best Regards

Viewing 1 replies (of 1 total)

The topic ‘PHP Deprecated / Warning / Fatal Error’ is closed to new replies.