woocommerce-external-product-embed icon indicating copy to clipboard operation
woocommerce-external-product-embed copied to clipboard

critical error on multi site

Open walterhumphreys opened this issue 3 years ago • 5 comments

I wanted to use this to show products from other sites to main site, i running wp multi site with sub directories, and followed the instruction when activating on main site all i get is a message that says... critical error occured, please check you inbox.

I never got any email, i created the rest api on the other site as mentined and add it to new the disire site (main site)

walterhumphreys avatar Mar 16 '21 15:03 walterhumphreys

Hmm, would be useful if you can find the fatal error somewhere. In wp-content/debug.log maybe if you have error logging enabled. More info https://wordpress.org/support/article/debugging-in-wordpress/

WPprodigy avatar Mar 16 '21 19:03 WPprodigy

this is the error i'm getting, after activating debug, this error came up upon the plugin instalation

Warning: include_once(): Failed opening '/www/wwwroot/domain.com/wp-content/plugins/woocommerce-external-product-embed-3.0.0/vendor/autoload.php' for inclusion (include_path='.:') in /www/wwwroot/domain.com/wp-content/plugins/woocommerce-external-product-embed-3.0.0/woocommerce-external-product-embed.php on line 54

walterhumphreys avatar Mar 16 '21 20:03 walterhumphreys

Oh, need to download from the releases tab: https://github.com/WPprodigy/woocommerce-external-product-embed#installation

Otherwise if you clone/download from the git branch directly you need to run the "Development" steps in the readme first.

WPprodigy avatar Mar 16 '21 20:03 WPprodigy

i did as mentioned, and highly apologize for it, now the error is gone, and now i get API Connection Error. Check the Consumer Key. which is rare cause thereit's no confusion on copy/paste, i tried creating other keys and still the same, is there any setting if im running wp over nginx

walterhumphreys avatar Mar 16 '21 22:03 walterhumphreys

Shouldn't be related to nginx. Can maybe check if even the public pages of the rest api are available.

WPprodigy avatar Mar 16 '21 23:03 WPprodigy