Hi Ralf,
Zitat Zitat von r23 Beitrag anzeigen
Wenn du PHP 7.08 verwendest - kannst du ein PHP Bug haben - Zitat aus der Changelog von PHP
http://php.net/ChangeLog-7.php

Fixed bug #72275 (Integer Overflow in json_encode()/json_decode()/ json_utf8_to_utf16()).

https://bugs.php.net/bug.php?id=72275
ich habe nun auf php 7.1 umgestellt, leider ohne Verbesserung.


die fehlerhafte Rückmeldung scheint diese hier zu sein:
PHP-Code:
{
    
"id":387,
    
"date_created":"2017-07-15T21:47:42",
    
"date_created_gmt":"2017-07-15T19:47:42",
    
"date_modified":"2017-07-15T21:47:42",
    
"date_modified_gmt":"2017-07-15T19:47:42",
    
"description":"",
    
"permalink":"http:\/\/meinshop.de\/produkt\/corydoras-sp-cw-108-47\/?attribute_pa_groesse=web-klein",
    
"sku":"0",
    
"price":"1",
    
"regular_price":"1",
    
"sale_price":"",
    
"date_on_sale_from":null,
    
"date_on_sale_from_gmt":null,
    
"date_on_sale_to":null,
    
"date_on_sale_to_gmt":null,
    
"on_sale":false,
    
"visible":true,
    
"purchasable":true,
    
"virtual":false,
    
"downloadable":false,
    
"downloads":[],
    
"download_limit":-1,
    
"download_expiry":-1,
    
"tax_status":"taxable",
    
"tax_class":"",
    
"manage_stock":false,
    
"stock_quantity":null,
    
"in_stock":true,
    
"backorders":"no",
    
"backorders_allowed":false,
    
"backordered":false,
    
"weight":"",
    
"dimensions":
        {
            
"length":"",
            
"width":"",
            
"height":""
        
},    
    
"shipping_class":"",
    
"shipping_class_id":0,
    
"image":    {    "id":384,
                    
"date_created":"2017-07-15T23:47:41",
                    
"date_created_gmt":"2017-07-15T19:47:41",
                    
"date_modified":"2017-07-15T23:47:41",
                    
"date_modified_gmt":"2017-07-15T19:47:41",
                    
"src":"http:\/\/meinshop.de\/wp-content\/uploads\/2017\/07\/corydoras-sp-cw-108__mg_9325-46.jpg",
                    
"name":"",
                    
"alt":"",
                    
"position":0
                
},
    
"attributes":
        [
            {
                    
"id":4,
                    
"name":"Groesse",
                    
"option":"Web (klein)"
            
}
        ],
    
"menu_order":0,
    
"meta_data":
        [
            {
                    
"id":6996,
                    
"key":"_unit_price_auto",
                    
"value":""
            
},
            {    
                    
"id":6997,
                    
"key":"_delete_product_delivery_time",
                    
"value":"1"
            
},
            {
                    
"id":6998,
                    
"key":"_free_shipping",
                    
"value":""
            
},
            {
                    
"id":6999,
                    
"key":"_service",
                    
"value":""
            
}
        ],
    
"unit_price":
        {
                
"base":"",
                
"product":"",
                
"price_auto":false,
                
"price":"",
                
"price_regular":"",
                
"price_sale":"",
                
"price_html":""
        
},
    
"mini_desc":"",
    
"sale_price_label":[],
    
"sale_price_regular_label":[],
    
"delivery_time":[],
    
"free_shipping":false,
    
"_links":
        {
                
"self":
                    [
                        {
                                
"href":"http:\/\/meinshop.de\/wp-json\/wc\/v2\/products\/386\/variations\/387"
                        
}
                    ],
                
"collection":
                    [
                        {
                                
"href":"http:\/\/meinshop.de\/wp-json\/wc\/v2\/products\/386\/variations"
                        
}
                    ],
                
"up":
                    [
                        {
                                
"href":"http:\/\/meinshop.de\/wp-json\/wc\/v2\/products\/386"
                        
}
                    ]
        }


auf den ersten Blick sieht mir das doch recht normal aus?
Sieht da jemand von Euch noch etwas? Ob ich den Atrribute Name verwende, oder nicht, verändert das Resultat nicht.

LG Andi