Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/user0463/public_html/htdocs/data/class/pages/admin/contents/LC_Page_Admin_Contents_Campaign.php on line 104
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/user0463/public_html/htdocs/data/class/pages/admin/contents/LC_Page_Admin_Contents_Campaign.php on line 110
エラーではなくあくまでワーニングだからほっといても問題ないとはあったけど、
お客さんには渡せない・・・。
そんなこんなで調べていたら、同じ境遇の人発見!
でも、そこでは解決方法あらず!
しかし、そこに記述のあった「Call-time pass-by-reference has been deprecatedでググレ」
アドバイスに従いググってたら、
ってあったので、
とりあえず回避するにはhttpd.conf、または.htaccessに以下を記述
php_flag allow_call_time_pass_reference on
htaccessに
「php_flag allow_call_time_pass_reference on」って書いて
サーバにアップしてみたら・・・・消えた(o´∀`o)ノ
警告消えたよ~
0 件のコメント:
コメントを投稿