You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this code to add script tag in my store front $src = "https://1d1d24b9.ngrok.io/new_prj/shopify.js"; $script = $shopify('POST', '/admin/script_tags.json', array( "script_tag"=> array( "event"=>"onload", "src"=>"$src" )));
but i am getting this error : Notice: Undefined offset: 1 in /opt/lampp/htdocs/new_prj/vendor/phpish/http/http.php on line 13 Fatal error: Uncaught phpish\shopify\CurlException: [3] <url> malformed in /opt/lampp/htdocs/new_prj/edit_product.php on line 26 thrown in /opt/lampp/htdocs/new_prj/vendor/phpish/shopify/shopify.php on line 66
Can any one explain this how can i add script tag on it.
The text was updated successfully, but these errors were encountered:
I am using this code to add script tag in my store front
$src = "https://1d1d24b9.ngrok.io/new_prj/shopify.js"; $script = $shopify('POST', '/admin/script_tags.json', array( "script_tag"=> array( "event"=>"onload", "src"=>"$src" )));
but i am getting this error :
Notice: Undefined offset: 1 in /opt/lampp/htdocs/new_prj/vendor/phpish/http/http.php on line 13 Fatal error: Uncaught phpish\shopify\CurlException: [3] <url> malformed in /opt/lampp/htdocs/new_prj/edit_product.php on line 26 thrown in /opt/lampp/htdocs/new_prj/vendor/phpish/shopify/shopify.php on line 66
Can any one explain this how can i add script tag on it.
The text was updated successfully, but these errors were encountered: