bilgisayarda localhosta kurduğum wordpresse bir tema ekledim temayı ön izleme yaptığım zaman ekranda sadece bu hata yazıyor. Fatal error: Call-time pass-by-reference has been removed in C:\EasyPHP-12.1\www\web\wordpress\wp-content\themes\PlusOnes\monetize\add_post\functions_add. php on line 503 functions_add. php dosyası şu şekilde &lt;?php function templ_add_template_post_page { if elseif elseif elseif elseif // PAYMENT GATEWAY RETURN elseif // PAYMENT GATEWAY RETURN elseif // PAYMENT GATEWAY NOTIFY URL { if elseif($_GET '2co') exit; }elseif($_GET 'add_step1') elseif($_GET 'add_step2') elseif($_GET 'add_step3') elseif($_GET 'add_step4') elseif { global $current_user; if }elseif return $template; } // //Image delete and set order functionality // if { if { if { $tmp_file_info = array ; foreach { if else } $_SESSION = $tmp_file_info; } }else exit; }else if { global $wpdb; $arr_pid = explode ; for($j=0;$j&lt;count ;$j++) { $media_id = $arr_pid ; if(strstr $wpdb-&gt;query ; } echo 'Image order saved successfully'; exit; } // //Multi Image Uploader add for submit post form hook action // add_action ; function templ_submit_form_image_uploader_fun // //Google map add for submit post form hook action // add_action ; function templ_submit_form_googlemap_fun / //FUNCTION NAME : templ_paynow_before_insert //ARGUMENTS : None. //RETURNS : action hook call for payment. php befor insert data. / function templ_paynow_before_insert { $payable_amount = 0; $info = array ; if(function_exists $property_price_info = $property_price_info ; if($property_price_info &gt;0) if(function_exists { if($_REQUEST '' &amp;&amp; $payable_amount&gt;0 &amp;&amp; $_REQUEST '') } return apply_filters ; } function templ_paynow_after_insert_email { ///////ADMIN EMAIL START////// global $last_postid,$my_post; $fromEmail = get_site_emailId ; $fromEmailName = get_site_emailName ; $store_name = get_option ; $email_content = get_option ; $email_subject = get_option ; if if $information_details = &quot;&lt;p&gt;&quot;. .&quot; : &quot;.$last_postid.&quot;&lt;/p&gt;&quot;; $information_details.= '&lt;p&gt;'. .' &lt;a href=&quot;'. get_permalink .'&quot;&gt;'.$my_post .'&lt;/a&gt;&lt;/p&gt;'; $search_array = array ; $replace_array = array ; $filecontent = apply_filters('templ_paynow_admin_email_filter', str_replace ; $headers = 'MIME-Version: 1.0' . &quot;\r\n&quot;; $headers.= 'Content-type: text/html; charset=UTF-8' . &quot;\r\n&quot;; $headers.= 'To: '.$fromEmailName.' &lt;'.$fromEmail.'&gt;' . &quot;\r\n&quot;; @mail ; //////ADMIN EMAIL END//////// } do_action ; function templ_paynow_after_insert_payment { templ_paynow_after_insert_email ; if($payable_amount &lt;= 0) { $suburl.= &quot;&amp;pid=$last_postid&quot;; if if else $rurl = apply_filters ; if exit; }else { $paymentmethod = $_REQUEST ; $paymentSuccessFlag = 0; if { if $suburl.= &quot;&amp;pid=$last_postid&quot;; $surl = apply_filters('templ_paynow_success_redirect_url', site_url ; if } else { $path = apply_filters ; if(file_exists } exit; } do_action ; } do_action ; / //FUNCTION NAME : templ_skip_payment_method //ARGUMENTS : $flag. //RETURNS : filter to skin payment method or not if $flag 1 =&gt; payment method was except and you can add the payment if $flag 0 =&gt; payment mathod is compulsory, will give error is not selected&lt;br /&gt; Default value of $flag is &quot;0&quot;. / / add_filter ; function templ_skip_payment_method_fun / function set_post_status { if } if(! function_exists { function get_property_default_status } function get_attached_file_meta_path function allow_user_can_add function allow_user_register function templ_get_the_url function templ_upload_phy_path function templ_upload_url_path function templ_tmp_phy_path function templ_tmp_url_path function templ_image_phy_path function templ_image_url_path function get_image_size { $img = imagecreatefromjpeg ; if $width = imageSX ; $height = imageSY ; return array ; } function move_original_image_file function getCategoryList( $parent = 0, $level = 0, $categories = 0, $page = 1, $per_page = 1000 ) { $count = 0; if ( empty ) $children = _get_term_hierarchy ; return _cat_rows1 ; } function _cat_rows1( $parent = 0, $level = 0, $categories, &amp;$children, $page = 1, $per_page = 20, &amp;$count ) { //global $category_array; $start = ($page - 1) $per_page; $end = $start + $per_page; ob_start ; foreach { if break; $_GET =''; if ( $category-&gt;parent!= $parent &amp;&amp; empty ) continue; // If the page starts in a subtree, print the parents. if ( $count $start &amp;&amp; $category-&gt;parent &gt; 0 ) { $my_parents = array ; $p = $category-&gt;parent; while $num_parents = count ; while( $my_parent = array_pop ) } if unset ; $count++; if ( isset ) _cat_rows1( $category-&gt;term_id, $level + 1, $categories, $children, $page, $per_page, $count ); } $output = ob_get_contents ; ob_end_clean ; return $category_array; } function get_post_info { global $wpdb; $productinfosql = &quot;select ID, post_title, post_content from $wpdb-&gt;posts where ID=$pid&quot;; $productinfo = $wpdb-&gt;get_results ; if { foreach($productinfo as $key=&gt;$val) } return $productArray; } function get_payment_optins { global $wpdb; $paymentsql = &quot;select from $wpdb-&gt;options where option_name like 'payment_method_$method'&quot;; $paymentinfo = $wpdb-&gt;get_results ; if { foreach { $option_value = unserialize ; $paymentOpts = $option_value ; $optReturnarr = array ; for($i=0;$i&lt;count ;$i++) return $optReturnarr; } } } add_filter ; function templ_author_listing_links_fun { global $wp_query, $current_user,$post; $queryvar = $wp_query-&gt;query_vars; if($current_user-&gt;data-&gt;ID $queryvar || $current_user-&gt;data-&gt;ID 1) } function get_categories_checkboxes_form { $args = array ; $all_categories = get_categories ; //$chkcounter=0; $o = '&lt;div class=&quot;cat_list&quot; &gt;&lt;ul class=&quot;category_list&quot;&gt;'; foreach return $o. '&lt;/ul&gt;&lt;/div&gt;'; } function show_category_form { $args = array ; $checked = &quot;&quot;; if(! is_null &amp;&amp; is_array //$chkcounter++; $ou = '&lt;li&gt;&lt;label&gt;&lt;input ' . $checked.' type=&quot;checkbox&quot; name=&quot;post_category &quot; id=&quot;post_category_'. $chkcounter.'&quot; value=&quot;'. $cat_object-&gt;cat_name.'&quot; /&gt; ' . $cat_object-&gt;cat_name. '&lt;/label&gt;'; $childs = get_categories ; foreach $ou.= '&lt;/li&gt;'; return $ou; } add_action ; function templ_after_loop_post_content_fnc { if(is_author { global $current_user,$wp_query,$post; $qvar = $wp_query-&gt;query_vars; $authname = $qvar ; $nicename = $current_user-&gt;data-&gt;user_nicename; if || { if($post-&gt;post_type CUSTOM_POST_TYPE1) else } } } // // author cutom post listing filer. // add_action ; function author_filter { if(is_author } function posts_where_author { global $current_user,$wp_query,$post; $qvar = $wp_query-&gt;query_vars; $authname = $qvar ; $nicename = $current_user-&gt;data-&gt;user_nicename; if || else return $where; } function templ_get_post_taxonomy($pid,$custom_taxonomy = CUSTOM_CATEGORY_TYPE1) { if { $category = wp_get_object_terms ; $category_arr = array ; if { foreach if } } } ?&gt;

Güncel arkadaşlar bir kod hatası var ama bulamadım

efendi12' Alıntı:

serhat_331' Alıntı:

bakıyorum şuan hocam

Sorun çözüldü konu kilit