• Resolved tonygao

    (@tonygao)


    [27-Aug-2024 01:34:32 UTC] PHP Warning: Undefined array key “uploads_directory” in /home/public_html/wp-content/plugins/wp-hide-security-enhancer/compatibility/wp-job-manager.php on line 70

    [27-Aug-2024 01:34:32 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/public_html/wp-content/plugins/wp-hide-security-enhancer/compatibility/wp-job-manager.php on line 70

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Maya

    (@tdgu)

    Hi,
    Thanks for your feedback, this will be fixed in the next plugin release.

    Meanwhile you can update the line 70 in the file /wp-content/plugins/wp-hide-security-enhancer/compatibility/wp-job-manager.php to
    $new_url = trailingslashit( home_url() ) . str_replace( '/wp-content' , $new_content_path, $wph->default_variables['upload_url'] );

    Thanks

    Thread Starter tonygao

    (@tonygao)

    Thank you very much!

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