Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Pieter Bos

    (@senlin)

    Hi there, sorry to hear you are encountering issues.

    Can you let me know what kind of errors you experience?

    We received another report that points to a conflict with the minimum PHP version. Which version of PHP is your site running on?

    If you want to delete the plugin then that is always possible by removing the classic-editor-addon folder from the wp-content/plugins directory via FTP or cPanel.

    Plugin Author Pieter Bos

    (@senlin)

    We have just released an update, please let us know if that fixes the issue for you.

    Hi Pieter,

    I get the same problem, and since I just now installed it, I think I would have used the updated version? It says version 2.3.1, and installing works, but it refuses to activate with the error message below.

    In case it’s important, this is on two sites that have not yet been updated to WP 5, they’re at WP 4.9.9.

    It gives me 1 notice, 2 warnings, and 1 fatal error.
    (replaced our own server path with […])

    Notice: Use of undefined constant __DIR__ – assumed ‘__DIR__’ in /[…]/wp-content/plugins/classic-editor-addon/classic-editor-addon.php on line 29

    Warning: include_once(__DIR__/vendor/autoload.php) [function.include-once]: failed to open stream: No such file or directory in /[…]/wp-content/plugins/classic-editor-addon/classic-editor-addon.php on line 29

    Warning: include_once() [function.include]: Failed opening ‘__DIR__/vendor/autoload.php’ for inclusion (include_path=’.:/opt/plesk/php/5.2/share/pear’) in /[…]/wp-content/plugins/classic-editor-addon/classic-editor-addon.php on line 29

    Fatal error: Class ‘WP_Dependency_Installer’ not found in /[…]/wp-content/plugins/classic-editor-addon/classic-editor-addon.php on line 30

    Hope this helps, but let me know if I can provide more info!


    Els

    Plugin Author Pieter Bos

    (@senlin)

    @lmels
    Hi Els,

    Thank you very much for sending a much more detailed report than the previous poster.

    From the error it looks like the server has PHP 5.2 installed: /opt/plesk/php/5.2/share/pear

    Can you confirm that indeed is the case?

    Yes, that’s true. I’m ashamed too, as I was under the impression I had updated that server to use 7.2 already, and it’s now very clear that’s not the case.

    It does explain why I didn’t encounter any problems with this plugin on other sites ??

    I don’t expect you to support PHP 5.2. (although the constant not being in quotes might be worth fixing, as I think PHP 7.2 is still picky about that as well)

    Plugin Author Pieter Bos

    (@senlin)

    Hi Els,

    Glad that the issue is “solved” then. Ever since we started using the WP Dependency Installer the minimum PHP version already needed to be 5.3 and now with the latest update we have had to increase that to 5.4, because the Installer now uses a short-hand form that can only be used on PHP 5.4 and up.

    Regarding the constant not being in quotes, that is a directive from the WP Dependency Installer, see the readme file under Installation: https://github.com/afragen/wp-dependency-installer

    Closing this ticket now then as your issue is solved an the OP’s @sahotaji site is running 5.0.1 and has the new TwentyNineteen theme installed which can only be used with Gutenberg as far as I know.

    Right – didn’t realise the dependency installer was a separate thing from your plugin.

    Thanks for the plugin itself btw, it’s much needed!

    Plugin Author Pieter Bos

    (@senlin)

    You’re welcome, hope you can update the PHP version of the server, so you can use the plugin ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘classic editor addon is defective’ is closed to new replies.