Kanuj
Forum Replies Created
-
Forum: Plugins
In reply to: [Block Editor Colors] WordPress 5.9 Breaks itI hope the author fixes it otherwise it is going to be very tough to edit all the posts and remove the colors manually.
Anybody home to help solve this issue?
Forum: Plugins
In reply to: [AMP] Error on Updating to the Latest Version of PluginDear Weston,
thanks for the help. The error is not there now for me. Did restarted NGINX, PHP FPM and cleared full cache from Cloudflare.
others can try this or can contribute back to help resolve the issue.
If anything crops up will share the details.
Good Nite
Forum: Plugins
In reply to: [AMP] Error on Updating to the Latest Version of PluginHi,
restarted the PHP FPM and restarted the NGINX – Voila No more errors.
Not sure why it was happening but it has resolved for me.
Screenshot – https://pasteboard.co/IkjXmtN.jpg
- This reply was modified 5 years, 9 months ago by Kanuj.
Forum: Plugins
In reply to: [AMP] Error on Updating to the Latest Version of PluginI have the site installed on the localhost using xamp but it is not giving any error.
Still checking and purging cache, if all else fails we will do a teamviewer session or will share access.
thanks
- This reply was modified 5 years, 9 months ago by Kanuj.
Forum: Plugins
In reply to: [AMP] Error on Updating to the Latest Version of PluginHi,
there is only 1 copy, let me clear OP cache and other caching to see if it works.
Forum: Plugins
In reply to: [AMP] Error on Updating to the Latest Version of PluginHi, there is just one copy – let me purge the OP Cache and other caches and see if it resolves.
Forum: Plugins
In reply to: [AMP] Error on Updating to the Latest Version of PluginDear Weston,
Error message is still the same.
‘You appear to be running the AMP plugin from source. Please do composer install && npm install && npm run build to finish installation.’
Nope, don’t have two copies of AMP. I am working with WINSCP (SFTP Client) there is only 1 AMP folder in plugins directory.
Seems like it is pulling something from Git which it shouldn’t be. Anyone having a git repository linked to themes will get this message.
Ohh here is the screenshot – there is just 1 copy https://pasteboard.co/IkjJhD9.jpg
- This reply was modified 5 years, 9 months ago by Kanuj.
Forum: Plugins
In reply to: [AMP] Error on Updating to the Latest Version of PluginHmm tried the above code in amp.php.
I deleted the existing plugin using SFTP and downloaded the Zip from https://www.ads-software.com/plugins/amp/
uploaded it using the WordPress plugin import.
Then
I deleted the below code:
if ( ! file_exists( __DIR__ . ‘/vendor/autoload.php’ ) || ! file_exists( __DIR__ . ‘/vendor/sabberworm/php-css-parser’ ) || ! file_exists( __DIR__ . ‘/assets/js/amp-block-editor.js’ ) ) {
and added this instead:
if ( ! file_exists( __DIR__ . ‘/vendor/autoload.php’ ) ) {
$_amp_load_errors->add( ‘missing_autoload’, ‘Missing vendor/autoload.php’ );
}
if ( ! file_exists( __DIR__ . ‘/vendor/sabberworm/php-css-parser’ ) ) {
$_amp_load_errors->add( ‘missing_php_css_parser’, ‘Missing php-css-parser’ );
}
if ( ! file_exists( __DIR__ . ‘/assets/js/amp-block-editor.js’ ) ) {
$_amp_load_errors->add( ‘missing_amp_block_editor’, ‘Missing assets/js/amp-block-editor.js’ );
}Still, the error is there, doesn’t work as intended.
Note:- it did not alter the error message.
Forum: Plugins
In reply to: [AMP] Error on Updating to the Latest Version of PluginDear Weston,
After installing from the wp dashboard. I did exactly as mentioned below.
Just to be sure, can you download amp.zip from https://www.ads-software.com/plugins/amp/ via the Download link and then install the ZIP into WordPress via the “Add New” screen and click “Upload” to supply the ZIP and then activate.This is what i tried before opening this ticket.
I Will edit the code as shared by you and report back soon. ??
Thanks
KanujForum: Plugins
In reply to: [AMP] Error on Updating to the Latest Version of PluginThanks James for the help – I saw the solution asked by someone else in the past but unfortunately it is not working for me.
I found the .gitignore file in the wp-content/themes folder.
One of the earlier developers was using git to make some changes to a theme. Now he is not working anymore.
Can you please share how can I revoke access to git for my website or how can I make AMP plugin work.
I checked the .gitignore file. There was no mention of vendor directory inside the .gitignore file.
I added the /vendor inside it and saved it but the error is still showing.
Also, I was using the version 1.13 without any issues or all the previous versions. The issue has come with the version 1.2 update only.
- This reply was modified 5 years, 9 months ago by Andrew Nevins.
- This reply was modified 5 years, 9 months ago by Kanuj.
Tried the yoast 11.3 6 days back and got the issue – for now have downgraded to 11.2.1 – i guess more people would be facing this..
Forum: Fixing WordPress
In reply to: wordpress 4.1 visual editor issue all themesThe issue was caused by Akismet checked it in browser and disabled the plugin now all is fine
Forum: Fixing WordPress
In reply to: wordpress 4.1 visual editor issue all themesSir thank you very much this script debugging was magical solved the issue but i dont know what was the issue were can i find what caused the issue
Forum: Fixing WordPress
In reply to: wordpress 4.1 visual editor issue all themesNow I tried to remove the wp-admin and wp-include folder and re instated the version 4.0 of word press all seems to work fine ,
even when i am manually adding word press 4.1 the issue comes back.