• Resolved leslieoneonone

    (@leslieoneonone)


    Hi! I was trying to deactivate plugins to test the contact form, but then the whole site broke, and I contacted WordPress via chat, they said the issue was caused by “Add Polylang support for Customizer” plugin.

    They had to deactivate the plugin to fix it, and suggested I report this issue to the plugin creator.

    My site is in two languages. The primary English site is still here, and since I can’t activate the plugin, I have lost the Chinese site! Can you debug the plugin and will that fix the problem? How can I retrieve the Chinese site?

    Leslie

Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author richardevcom

    (@richardevcom)

    @leslieoneonone hello. What theme are you using? Could you provide error/debug logs or some kind of screenshots with error?

    Thread Starter leslieoneonone

    (@leslieoneonone)

    Hi! I am using a theme I bought Aeso theme – https://themeforest.net/item/aeso-financial-advisor-theme/25201087.

    There are no screenshots with error (sorry too panic to take one then). But basically what happened was when I deactivated and then tried to activate your plugin, the site just broke with a pop-up screen saying ““There has been a critical error on your website”.

    Wordpress team helped to get back into the site and managed to deactivate just your plugin, and then the English site became alive again, but the Chinese was gone because the pages was built basically when your plugin is in place. It won’t let me retrieve the Chinese pages, and popped up saying “Sorry, the content area was not found on your page. You must call ‘the_content’ function in the current template in order for Elementor to work on this page.

    I wasn’t able to fix it, so I restored it to yesterday’s backup, so is working ok there as of now, but I think the bug is still there because all I did was restored the backup.

    Hope you can help out! Thanks a million!

    Plugin Author richardevcom

    (@richardevcom)

    What version of this plugin are you using? What version of WordPress & Polylang are you using? And what other plugins are activated paralelly?

    Thread Starter leslieoneonone

    (@leslieoneonone)

    Hi! I am using version 1.2.0

    Thread Starter leslieoneonone

    (@leslieoneonone)

    Hi! I am using:-

    Plugin 1.2.0
    Wordpress – not sure where I can find this?
    Polylang 2.8

    Full list of plugins I am using:-
    Add Polylang support for Customizer
    Akismet Anti-Spam
    AMP
    Boosted Elements
    CF7 Smart Grid Design Extension
    Classic Editor
    CMB2
    CoBlocks
    Contact Form 7
    Contact Form 7 Polylang extension
    Easy Google Fonts
    Elementor
    Gutenberg
    JetPack by WordPress
    Layout Grid
    MC4WP: Mailchimp for WordPress
    One Click Demo Import
    Page Optimize
    Polylang
    Polylang Connect for Elementor
    Progression Theme Elements – Aeso
    UpdraftPlus – Backup/Restore
    WordPress.com Editing Toolkit

    Plugin Author richardevcom

    (@richardevcom)

    @leslieoneonone as I don’t see any error messages it’s hard for me to replicate the issue. I just installed half of the plugins and it worked fine. My guess its either Theme related or deactivating plugins. This plugin depends on Polylang.

    The version you are using works fine with older WordPress versions (you can see it on Admin panel bottom left side).

    I will add feature that checks if Polylang is installed and only then allow it to run the plugin. It will be up within an hour.

    Thank you for report and I’ll keep you updated.

    Thread Starter leslieoneonone

    (@leslieoneonone)

    Hi @richardevcom ,

    Thanks so much for testing it. So do you think if it is working properly now, if I don’t touch it (if I don’t deactivate it again – both your plugin and Polylang), it should work fine as it is right?

    I think your guess is probably correct, I reactivated your plugin before reactivating Polylang, maybe that is why it crashed. Was that what you meant? or think that happened?

    I will update your plugin when the update is available. Thanks again! Appreciate you looking into it.

    Best,
    Leslie

    Plugin Author richardevcom

    (@richardevcom)

    Yes, that was indeed the case.

    I’ve made an update. It shouldn’t crash anymore. Please update your plugin and confirm it also works for you.

    • This reply was modified 5 years, 9 months ago by richardevcom.
    Thread Starter leslieoneonone

    (@leslieoneonone)

    Hi @richardevcom

    I have just updated the plugin. However, the one thing that I wanted the plugin to do is gone – I cannot customise my Chinese footer for the Chinese page. The language customiser option in my appearance > customise theme is also gone!

    Leslie

    Plugin Author richardevcom

    (@richardevcom)

    Just updated to 1.3.1 it was due to API not being able to load in case Polylang is not leaded. Fixed now. My apologies.

    Update the plugin again and it will work again 🙂

    • This reply was modified 5 years, 9 months ago by richardevcom.
    Thread Starter leslieoneonone

    (@leslieoneonone)

    Hi! The site broke! I just tried installing 1.3.1 and this came up – There has been a critical error on your website. Please check your site admin email inbox for instructions.

    Learn more about debugging in WordPress.

    Plugin Author richardevcom

    (@richardevcom)

    Please check the error sent in you e-mail and share it with me (censure any private information it may be showing).

    In our testing environment it has been resolved and it will never run if Polylang is not running or any needed PLL functionality is missing.

    Try enabling Polylang plugin, then remove this plugin and reinstall it from Plugins > Add new page.

    • This reply was modified 5 years, 9 months ago by richardevcom.
    • This reply was modified 5 years, 9 months ago by richardevcom.
    Thread Starter leslieoneonone

    (@leslieoneonone)

    Where can I check the error? it just has a line saying that it has a critical error, and won’t let me access the site

    Thread Starter leslieoneonone

    (@leslieoneonone)

    WordPress helped, they said deactivating the plugin made the site load again. You might want to share this error with the plugin developer: Fatal error: require_once(): Failed opening required ‘/srv/htdocs/__wp__/wp-content/plugins/polylang/include/api.php’ (include_path=’.:/usr/local/php7.3/lib/php’) in /srv/htdocs/wp-content/plugins/add-polylang-support-for-customizer/includes/class-apsfc.php on line 84

    Will you please look into it and let me know what to do next? Thank you!!

    Plugin Author richardevcom

    (@richardevcom)

    It states that it can’t access /wp-content/plugins/polylang/include/api.php file, which should be there if you have Polylang installed. Please check if file really is there and if not – the Polylang is not installed or you’re not using Polylang plugin at all.

    • This reply was modified 5 years, 9 months ago by richardevcom.
Viewing 15 replies - 1 through 15 (of 21 total)

The topic ‘Plugin Broke the site!’ is closed to new replies.