Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got an Issue with filemtime(); #19

Open
gianghl1983 opened this issue Dec 5, 2020 · 2 comments
Open

Got an Issue with filemtime(); #19

gianghl1983 opened this issue Dec 5, 2020 · 2 comments

Comments

@gianghl1983
Copy link

Hi,

I got this isssue and can not solve it (keep showing this message)

Warning: filemtime(): stat failed for E:\xampp\htdocs\demowp\wp-content\plugins\WP-Query-Console-master/build/admin.js in E:\xampp\htdocs\demowp\wp-content\plugins\WP-Query-Console-master\wp-query-console.php on line 212

Line 212.

wp_register_script(
							'wqc-script',
							WQC_PLUGIN_URL . 'build/admin.js',
							array( 'wp-api' ) ,
							**filemtime( WQC_PLUGIN_DIR . 'build/admin.js' ),**
							true
						);
@ajitbohra
Copy link
Member

if you are using git clone or download this repo you will need to build files.

npm install && npm run build

or you can download/install from https://wordpress.org/plugins/wp-query-console/

@gianghl1983
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants