• I got some bugs in the debug log when using the plugin, see below. The plugin does not work for me:

    PHP Warning:? Attempt to read property “” on null in…../public_html/wp-content/plugins/upload-media-by-url/uploadmediabyurl.php on line 109

    Row 109 looks like this:

    $results = media_handle_sideload( $file, $post->$id, NULL, array( 'test_size' => false ) ); 
    

    PHP Warning:? Undefined variable $post_type in …../public_html/wp-content/plugins/upload-media-by-url/uploadmediabyurl.php on line 129

    Row 129 looks like this:

     if ( $post_type == 'shop_order' ) return; // fix issue of plugin being loaded on WooCommerce pages
    • This topic was modified 1 year, 2 months ago by vallberg.
    • This topic was modified 1 year, 2 months ago by vallberg.
Viewing 1 replies (of 1 total)
  • Plugin Author notetoservices

    (@notetoservices)

    Patched the bug fixes on these to try an account for error conditioning. I’m on PHP 8.2 and not experiencing any problems

Viewing 1 replies (of 1 total)
  • The topic ‘bug when trying to upload’ is closed to new replies.