sirv / wordpress

Sirv for Wordpress plugin
0 stars 0 forks source link

Undefined array key "post_ID" #1

Open ronakkaria01 opened 2 months ago

ronakkaria01 commented 2 months ago

Undefined array key "post_ID" at line 368 in plugdata/includes/classes/woo.class.php

$product_id = $post_type == 'product' ? $_POST['post_ID'] : $product_id;

Error occurs in the roots.io/radicle project while creating any new page/post type

post-new.php?post_type=page

NOTE - I am not able to create a new post for any and all post types

MishaBelikov commented 1 month ago

Undefined array key "post_ID" at line 368 in plugdata/includes/classes/woo.class.php

$product_id = $post_type == 'product' ? $_POST['post_ID'] : $product_id;

Error occurs in the roots.io/radicle project while creating any new page/post type

post-new.php?post_type=page

NOTE - I am not able to create a new post for any and all post types

Hi ronakkaria01,

This issue was potentially fixed in version 7.2.8. Pls try new version.

ronakkaria01 commented 1 month ago

Hi Misha,

I'm trying to install the plugin via composer from wpackagist-plugin/sirv

I still see 7.2.7 as the latest version. Best Regards Ronak - 01242 511912

On 12 Jul 2024, at 1:44 PM, MishaBelikov @.***> wrote:

Undefined array key "post_ID" at line 368 in plugdata/includes/classes/woo.class.php

$product_id = $post_type == 'product' ? $_POST['post_ID'] : $product_id;

Error occurs in the roots.io/radicle project while creating any new page/post type

post-new.php?post_type=page

NOTE - I am not able to create a new post for any and all post types

Hi ronakkaria01,

This issue was potentially fixed in version 7.2.8. Pls try new version.

— Reply to this email directly, view it on GitHubhttps://github.com/sirv/wordpress/issues/1#issuecomment-2225060332, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANHVRN7K4QIMHTEDX56GNRTZL6F6VAVCNFSM6AAAAABJ6AO6UOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRVGA3DAMZTGI. You are receiving this because you authored the thread.Message ID: @.***>

MishaBelikov commented 1 month ago

I'm trying to install the plugin via composer from wpackagist-plugin/sirv I still see 7.2.7 as the latest version.

Hi Ronak,

Try to update you composer.json with new sirv record: "wpackagist-plugin/sirv":"7.2.8"

Please let me know if issue is fixed or not.