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
* If GraphQL class doesn't exist, then dependencies cannot be
157
+
* detected. This likely means the user cloned the repo from Github
158
+
* but did not run `composer install`
159
+
*/
160
+
if ( ! class_exists( 'Firebase\JWT\JWT' ) ) {
161
+
add_action(
162
+
'admin_notices',
163
+
function () {
164
+
if ( ! current_user_can( 'manage_options' ) ) {
165
+
return;
166
+
}
167
+
168
+
echosprintf(
169
+
'<div class="notice notice-error">' .
170
+
'<p>%s</p>' .
171
+
'</div>',
172
+
esc_html__(
173
+
'WooGraphQL appears to have been installed without it\'s dependencies. It will not work properly until dependencies are installed. This likely means you have cloned WPGraphQL from Github and need to run the command `composer install`.',
0 commit comments