WordPress.org

Forums

Advanced Code Editor
[resolved] Invalid callback? (13 posts)

  1. JuriJaden
    Member
    Posted 3 years ago #

    After updating to v2.1.1 on WP v3.4.1 I get the following errors:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'advanced_code_editor' does not have a method 'add_query_var_vars' in (site)\wp-includes\plugin.php on line 403

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'advanced_code_editor' does not have a method 'add_scripts' in (site)\wp-includes\plugin.php on line 403

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'advanced_code_editor' does not have a method 'do_edit' in (site)\wp-includes\plugin.php on line 403

    I just went back the previous version, which had been working just fine for me, but I thought I should report this.

    http://wordpress.org/extend/plugins/advanced-code-editor/

  2. Inao
    Member
    Posted 3 years ago #

    same problem here
    :(
    where you found plugin older version ?

  3. JuriJaden
    Member
    Posted 3 years ago #

  4. Inao
    Member
    Posted 3 years ago #

    thanks ;)

  5. Bainternet
    Member
    Plugin Author

    Posted 2 years ago #

    Makes no sense the function is a part of the class sense version 1.9 you can see here
    http://plugins.trac.wordpress.org/browser/advanced-code-editor/trunk/advanced-code-editor.php#L316

  6. Theodoor
    Member
    Posted 2 years ago #

    167: <? -> <?php
    ;)

  7. ozkaatechnologies
    Member
    Posted 2 years ago #

    @theodoor.... Lazy developers.. :-)

  8. Bainternet
    Member
    Plugin Author

    Posted 2 years ago #

    @ozkaatchnologies, rude user!!!

  9. JuriJaden
    Member
    Posted 2 years ago #

    Just to confirm, v2.1.3 does fix this issue. *thumbs up* Thanks, man.

  10. Bainternet
    Member
    Plugin Author

    Posted 2 years ago #

    thanks.

  11. Inao
    Member
    Posted 2 years ago #

    yes 2.1.3 without the problem
    great plugin, thanks @Bainternet

  12. jmporchet
    Member
    Posted 2 years ago #

    The bug was reintroduced with 2.1.4 :(

    [Sun Jul 15 03:58:05 2012] [error] [client xxx.xxx.192.199] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'advanced_code_editor' does not have a method 'add_query_var_vars' in /var/www/php/xxxxxxxx/wp-includes/plugin.php on line 405

  13. Bainternet
    Member
    Plugin Author

    Posted 2 years ago #

    @jmporchet, the code has not changed since previous version!!! its just icon images that were replaced.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Code Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.