richardevcom
Forum Replies Created
-
Can you please check location of
api.php
file? It should be inpolylang-pro/include/api.php
.@spaceshipone uploaded the update. Please update the plugin and check if all works. Thank you for your time posting here. ??
Hi @spaceshipone thank you for submission.
I will add a fix for this later this evening.Forum: Plugins
In reply to: [Add Polylang support for Customizer] 404 page is always in default language@penhtech glad to hear that. Since beta version, the 1.3.* is stable and runs with no issues now.
Hi @foxpc
Thank you for your submission. I will look into it asap.
Could you please list plugins and active theme you are using in parallel?
What version of this plugin have you installed?
Do you have Polylang installed and activated? If so, what version of Polylang are you using?The line 84 has
require __DIR__ . '/../../polylang/include/api.php';
this line of code which basically tries to include Polylang API. Please make sure that you have this file in that location:wp-content/plugins/polylang/include/api.php
.Also please provide full error message (this seems to be cut out). Don’t forget to censor out any sensitive data.
P.S. I will probably create safer way of API inclusion in upcoming version.
[EDITED]
Update: so I changed the line torequire WP_PLUGIN_DIR . '/polylang/include/api.php';
Please update your plugin to lastest version and confirm it is working.
If not it’s probably due to older Polylang version which means I will have to make Polylang version check and make some conflicting version filters.- This reply was modified 4 years, 2 months ago by richardevcom.
- This reply was modified 4 years, 2 months ago by richardevcom.
- This reply was modified 4 years, 2 months ago by richardevcom.
- This reply was modified 4 years, 2 months ago by richardevcom.
Forum: Plugins
In reply to: [Add Polylang support for Customizer] Plugin Broke the site!Allright, for those who experienced the same issue – this was due to using multisite WP. I worked around this with an ugly fix of
require __DIR__ . '/../../polylang/include/api.php';
inclass-apsfc.php
on line84
so both single and multi sites can include Polylang API.php from subparent plugin folder.Forum: Plugins
In reply to: [Add Polylang support for Customizer] Plugin Broke the site!The versions are definitely supported. But what catched my eye, is that the folder/file is missing, which well.. it shouldn’t
Via FTP.
No, I have Loco Translate installed myself and it works fine. Previous issue was indeed our fault, but this error may be caused by manually edited WordPress or Polylang files.
@leslieoneonone please write to me via [removed] and let’s chat via Discord or Skype.
- This reply was modified 4 years, 3 months ago by richardevcom.
Forum: Plugins
In reply to: [Add Polylang support for Customizer] Plugin Broke the site!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 4 years, 3 months ago by richardevcom.
Forum: Plugins
In reply to: [Add Polylang support for Customizer] Plugin Broke the site!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 4 years, 3 months ago by richardevcom.
- This reply was modified 4 years, 3 months ago by richardevcom.
Forum: Plugins
In reply to: [Add Polylang support for Customizer] Plugin Broke the site!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 4 years, 3 months ago by richardevcom.
Forum: Plugins
In reply to: [Add Polylang support for Customizer] Plugin Broke the site!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 4 years, 3 months ago by richardevcom.
Forum: Plugins
In reply to: [Add Polylang support for Customizer] Plugin Broke the site!@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.
Forum: Plugins
In reply to: [Add Polylang support for Customizer] Plugin Broke the site!What version of this plugin are you using? What version of WordPress & Polylang are you using? And what other plugins are activated paralelly?
@moargh not sure if still related, but please update the plugin and check if it’s fixed. It only forces that setting when it’s checked in Customizer Support settings. Basically always overwriting the setting. When unchecked it won’t change it in Polylang settings.
Forum: Plugins
In reply to: [Add Polylang support for Customizer] Plugin Broke the site!@leslieoneonone hello. What theme are you using? Could you provide error/debug logs or some kind of screenshots with error?