[英]PHP: Replace create_function in PHP 8
我需要用其他東西替換 create_function() add_action( 'plugins_loaded', create_function( '', 'global $Gestor_Cadastros; $Gestor_Cadastros = new Gestor_Cadastros( ...
[英]PHP: Replace create_function in PHP 8
我需要用其他東西替換 create_function() add_action( 'plugins_loaded', create_function( '', 'global $Gestor_Cadastros; $Gestor_Cadastros = new Gestor_Cadastros( ...
[英]Uncaught Error: Call to undefined function each()
我想知道你們是否可以給我一個關於如何更換每個 function 的想法: 謝謝! 我嘗試使用 foreach,但根本不起作用 ...
[英]Android getParcelableExtra deprecated in api 33
我想使用 intent 方法從另一個活動中獲取 uri,但不推薦使用 intent.getParcelableExtra。如果我使用 此代碼可以谷歌播放拒絕我的應用程序嗎? 因為在 remove (SDK_INT >= 33) 語句中顯示 Call requires API level 33 ...
[英]Does the PHP date() function format the time to the current locale settings
我正在嘗試使用date() function 作為現已棄用的strftime() function 的替代方法,我需要知道date() function 是否根據語言環境時間將時間格式化為strftime() function。 時間() 正如 php.net 在strftime()手冊中所說: ...
[英]Plot breaks due to deprecated function
我試圖從這個問題中重現 plot,但代碼已被棄用,我似乎無法弄清楚為什么它總是給出錯誤。 我以為我已經省略了每一行,因為它們是離散的以弄清楚發生了什么,但無論如何我這樣做它總是因此而中斷。 由於axis.ticks.margin和panel.margin以及vjust存在一些小錯誤,但我認為它們不是 ...
[英]Symfony sensio/framework-extra-bundle is abandoned and i cannot find an IsGranted alternative
(在 Symfony 5.4 PHP 7.4 項目上) 到目前為止,我使用IsGranted來限制每個角色在控制器中的訪問。 IEuse Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted class PostController ...
[英]What should I use instead of document.domain to get the domain?
似乎document.domain已被棄用: mdn web 文檔也說: 已棄用:不再推薦此功能。 雖然某些瀏覽器可能仍然支持它,但它可能已經從相關的 web 標准中刪除,可能正在被刪除,或者可能只是出於兼容性目的而保留。 避免使用它,並盡可能更新現有代碼; 但是,我似乎沒有在任何地方找到我可 ...
[英]Is there any reasonable and functioning fork of the Atom editor?
我最近發現,GitHub 不再維護 Atom 編輯器。 無法再安裝這些軟件包,因為該服務已被關閉。 我喜歡 Atom 編輯器,我不想使用 Visual Studio Code,就像 GitHub(即 Microsoft)所建議的那樣。 是否有任何合理且有效的分支,可以繼續在這個編輯器上工作? ...
[英]PHP utf8_en/decode deprecated, what can i use?
我 90% 的網站頁面使用 utf8 編碼功能來編譯 DataTable。 在 php 的舊版本 8.0 中,一切都很好,在新版本中,當 $item 的值($item 是一個數組)為 null 時,它會給我一個錯誤。 什么是有效的替代方案? ...
[英]Create azure .NET version 3 function after version 3 discontinuation
最近,.NET 對 azure function 3 版本的支持已經終止。 我仍然需要創建 azure 版本 3 函數應用程序,直到將它們遷移到版本 4。當我嘗試通過 azure DevOps 管道代理在版本 3 中創建函數應用程序時,我得到運行時找不到異常。 任何解決方案表示贊賞。 ...
[英]PHP Disable Deprecation Warnings for a Single Line
我目前為我的站點啟用了所有錯誤:error_reporting(E_ALL); 但是,在 PHP 8.1 中,一些功能現已棄用: 由於當前要求,我無法將行更新為未棄用的替代方案。 有沒有辦法僅針對這一行禁用棄用錯誤報告? ...
[英]How to fix FlatButton and RaiseButton Error in flutter
請不要在我的代碼中明確使用 RaiseButton 或 FlatButton。 但我得到這個錯誤 感謝幫助我嘗試了這個不適合我的解決方案。 ...
[英]Xamarin access to external public folder (documents/download)
我使用的是 GetExternalStoragePublicDirectory 但現在已棄用,它會返回標准路徑“/storage/emulated/0/Download”,但從 Android 12 我可以保存,僅加載從我的應用程序存儲的文件,如果我添加重命名的相同文件pc 被“過濾”並且無法訪問 ...
[英]How to fix deprecated nuget-package NLog.Config
剛剛注意到在我的 Nuget 包列表中,“NLog.Config”被標記為已棄用: 簡單地刪除包是否安全? 此特定應用程序供 Google Calendar API 使用。 我應該更仔細地查看我的代碼。 我刪除了包,現在我的工具無法編譯。 我有這樣的代碼: 和 10 個調用實例,例如: 現在NL ...
[英]What commands (exactly) should replace the deprecated apt-key?
我正在嘗試在 ubuntu 22.04 虛擬機上的實例中設置 Kube.netes。 在安裝過程中,我試圖為集群內通信添加一個 gpg 密鑰。 運行命令后: sudo curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | s ...
[英]Recommended documents folder for storage of permanent app data portable to all Android smartphones?
我們被迫實施 SAF,因為 Google Play 拒絕了對應用程序的更新。 這是一種糟糕的用戶和開發人員體驗,尤其是如果您已經擁有多年的應用程序並且還需要支持舊智能手機。 我們需要支持最小 API 24。 minSdkVersion 24 目標: 我希望應用程序的用戶 select 共享存儲中的 ...
[英]What is the replacement for the deprecated loadBalancerIP attribute in Services
在ServiceSpec文檔中,不推薦使用 loadBalancerIP 屬性。 該文檔邀請 Kubernetes 1.24 的用戶使用特定於實現的注釋。 我想知道使用 GKE 時負載均衡器的計划是什么,因為文檔仍然只提供了使用 loadBalancerIP 屬性的選項(參考: https://cl ...
[英]How do I skip over a decimal separator in a string?
我收到警告說 iOS 13.0 中已棄用“scanDecimal()”,但我找不到任何建議應該使用什么的東西。 在這個 function 中,scanner.scanDecimal(nil) 用於通過返回 true 來簡單地掃描過去的 NSDecimal 表示。 我已經查看了 Apple 的(咳嗽 ...
[英]How to solve queryIntentActivities deprecated in API 33
我在帶有 API33 的 Android Studio 中出現奇怪的行為。 在下面的代碼中, 我得到queryIntentActivities(Intent,int) in PackageManager has been deprecated 。 在文檔中,它說:此方法已在 API 級別 33 中 ...
[英]What substitute can I use for Java Spring's Jwts.signWith() deprecated method?
我需要在 mi API 中使用 JWT,並且 IDE 告訴我不推薦使用 .signWith() 方法。 到目前為止,我使用 @Deprecated 注釋,但我認為這不是很好的做法。 這是我的示例代碼: ...