WordPress.org

Ready to get started?Download WordPress

Forums

Codestyling Localization
Warning: Conflict with Log Deprecated Notices plugin (2 posts)

  1. rsm08
    Member
    Posted 11 months ago #

    After spending half a day trying to find out why Codestyling didn't work anymore, I found out that there is a conflict with (probably only the newest version of) "Log Deprecated Notices" plugin.

    If this plugin is installed, any attempt to "Edit" a .po file in CSL will return an error about too little memory, although in fact the error is due to an ajax call that fails.

    I couldn't find out what the problem is exactly. It happens when CSL tries to include libraries in the beginning of csp_po_ajax_handle_launch_editor() function.

    To get the error, make an empty PHP file with this:

    require_once('/wp-blog-header.php');
    
    require_once('/wp-content/plugins/codestyling-localization/includes/locale-definitions.php');
    
    require_once('/wp-content/plugins/codestyling-localization/includes/class-filesystem-translationfile.php');
    
    die('Hello');

    The die statement cannot be reached. Instead I get a weird "connection changed" http error in my browser.

    Disabling the "Log Deprecated Notices" plugin removes the error.

    I just wanted to let you know in here. Maybe someone else will encounter the same problem.

    http://wordpress.org/extend/plugins/codestyling-localization/

  2. rsm08
    Member
    Posted 11 months ago #

    IMPORTANT!!!

    I made a stupid mistake. The conflicting plugin was "Error Reporting" and not "Log deprecated Notices".

    Sorry!

Reply

You must log in to post.

About this Plugin

About this Topic