• Hello I’m using qTranslate to make my site multi language, but I have some issues. I’ll try to explain what exactly happens.

    I’m using a template from Template Monster with its Cherry Framework, then I got first activate AGCA plugin and works beautiful, after that I activate qTranslate and I couldn’t access to my widgets page, after several tries I notice that gave me a Fatal Error of Maximum Execution Time Exceeded, etc, etc; so I change the max_input_time and max_execution_time values un my php.ini file and then gave me a errors with the javascript, so I disable qTranslate, and everything works fine I get in widgets page, then activate again and fail, deactivate AGCA and widgets page works as it has to.

    Then activate both and all error came in the fact, so I decide to use wp_debug and got this from the log file.

    [25-Sep-2013 22:56:43] PHP Notice: Undefined offset: 1 in /Volumes/JFT-HD/Godex/Godex Security/godexsecurity/wp-content/plugins/ag-custom-admin/plugin.php on line 533
    [25-Sep-2013 22:56:43] PHP Notice: Undefined index: 1 in /Volumes/JFT-HD/Godex/Godex Security/godexsecurity/wp-content/plugins/ag-custom-admin/plugin.php on line 526
    [25-Sep-2013 22:56:43] PHP Notice: Undefined offset: 1 in /Volumes/JFT-HD/Godex/Godex Security/godexsecurity/wp-content/plugins/ag-custom-admin/plugin.php on line 533
    [25-Sep-2013 22:57:15] PHP Notice: Undefined offset: 1 in /Volumes/JFT-HD/Godex/Godex Security/godexsecurity/wp-content/plugins/ag-custom-admin/plugin.php on line 533
    [25-Sep-2013 22:57:15] PHP Notice: Undefined index: 1 in /Volumes/JFT-HD/Godex/Godex Security/godexsecurity/wp-content/plugins/ag-custom-admin/plugin.php on line 526
    [25-Sep-2013 22:57:15] PHP Notice: Undefined offset: 1 in /Volumes/JFT-HD/Godex/Godex Security/godexsecurity/wp-content/plugins/ag-custom-admin/plugin.php on line 533
    [25-Sep-2013 22:59:05] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /Volumes/JFT-HD/Godex/Godex Security/godexsecurity/wp-includes/pomo/translations.php on line 72

    I deactivate AGCA plugin and no log messages was added only this one

    [25-Sep-2013 23:19:47] PHP Notice: Use of undefined constant WP_ADMIN – assumed ‘WP_ADMIN’ in /Volumes/JFT-HD/Godex/Godex Security/godexsecurity/wp-content/plugins/ag-custom-admin/plugin.php on line 136

    I would like to know what causes the issue, and how we could fix it, because it is important to me have both plugins running for my client site. As you could see I’m working on a localhost server, before to go live, and for test purposes you can find a Free Cherry Template at Template Monster site.

    I’ll appreciate the answer in advance and hope we could find a solution.

    http://wordpress.org/plugins/ag-custom-admin/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi,

    What are your PHP, WordPress and AGCA versions?

    Thanks

    I think there could be some kind of conflict with those plugins. Please enable only AG Custom Admin, and when it’s enabled please disable Colorizer and admin menu customizations (use also Reset button to reset admin menu customizations). After that, re-enable other plugins to see if it works.

    If it works after that, then please enable Colorizer and re-try. If it fails, then there is some conflict with Colorizer options, if it still works, then try re-enabling admin menu customizations. I assume that it would fail after that.

    If it does not work even after disabling Colorizer and admin menu customizations, then I guess it could be something with specific versions which you’re using, or even something else.

    Thread Starter Jafet Mejia

    (@jftid)

    Thanks argonius for your reply, the version of my PHP is 5.3, WordPress 3.6.1 and AGCA the most recent.

    I have been done all the solutions you gave me, but actually none of those settings had been used in the customization, even I enable the plugin without making any change and then activate qtranslate, and the error persist.

    Thank you for your time, and I hope we can find soon a solution.

    Thread Starter Jafet Mejia

    (@jftid)

    Hello again, I other bug and resides in the jQuery, you use a .live argument which has been deprecated since 1.7 and eliminated in 1.9. I use jQuery ver 1.10.1 so I change the .live argument to .on and the problem was corrected.

    I’m still haven’t found the other issue but I’m still searching for, thank you

    Hi,

    I wasn’t able to reproduce your error on my environment. You might try these solutions:

    on line 533 in plugin.php replace

    $array.="[".$parts[0].", ".$parts[1]."]";
    $first=false;

    with

    if(isset($parts[0])&& isset($parts[1])){
       $array.="[".$parts[0].", ".$parts[1]."]";
       $first=false;
    }

    and replace also line 136 withthis one

    if(in_array($GLOBALS['pagenow'], array('wp-login.php', 'wp-register.php')) || is_admin()){

    Please let me know what happens after that

    Thanks,
    Argonius

    Thread Starter Jafet Mejia

    (@jftid)

    Hi Argonius,

    I already did your suggestions and didn’t any difference, but I decide to dig deeper on Cherry Framework and I found that the problem comes with the framework, specially with the widgets page.

    So what am I did? I open the functions.php file in the CherryFramework folder and look for some action related with widget and I found that in line 157 the frame calls to a file
    //include_once (PARENT_DIR . '/includes/widgets/widgets-manager.php'); then I commented to make the function unavailable and everything went a charm, and I haven’t no PHP errors of any kind.

    I will tell to the TemplateMonster team about this solution hoping they give attention to the next update. Thank you so much for your tries, your time an patience. This subject is officially solved.

    Thanks Jafet, I’m glad that your problem has been solved.

    Best Regards,
    Argonius

    Hi Argonius and Jafet, I have the same problem with the plugin qTranlate into framework Cherry. I dind the changes that told Jalet with comments on line 157, but I still have the same problem.

    Do you think that I need to change the others action that you said?

    Thanks a lot

    Can you check first which error(s) you have in console?

    Thread Starter Jafet Mejia

    (@jftid)

    Hello burnobonafine, did you search for the function I mentioned? Because unfortunately the console doesn’t display any error in the jQuery. I’m guessing too that the problem comes with qTranslate, but I’ll have to dig a bit more.
    I’ll try later, with 2.4 version of the Framework, because the version 3 is a complete mess. If you find something useful it’ll be great if you share it.

    Please post here any errors that you have. Thanks.

    Thank you Jafet Mejia regading the tip (functions.php line 157).
    Before I had to deactivate qTranslate plugin to access WidgetPanel and reactivate it after.
    Now it works fine.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Widget page doesn't load with qTranslate and AGCA activated’ is closed to new replies.