Phpmyadmin export error

Hello!

Got a problem with exporting my db's in phpmyadmin.
When i select the export option i get the following error

Fatal error: Call to undefined function __() in C:\xampp\phpMyAdmin\libraries\export\json.php on line 26

here is the file with line 26
 
<?php
/**
 * Set of functions used to build dumps of tables as JSON
 *
 */
if (! defined('PHPMYADMIN')) {
    exit;
}

/**
 *
 */
if (isset($plugin_list)) {
    $plugin_list['json'] = array(
        'text'          => 'JSON',
        'extension'     => 'json',
        'mime_type'     => 'text/plain',
        'options'       => array(
            array('type' => 'begin_group', 'name' => 'general_opts'),
            array(
                'type' => 'hidden',
                'name' => 'structure_or_data',
            ),
            array('type' => 'end_group')
        ),
        'options_text'  => __('Options'),
    );
} else {

Open in new window


Any id's ?
Th0RAsked:
Who is Participating?
 
MarioAlcaideConnect With a Mentor Commented:
Hi,

You are calling a function called __(), using the parameter 'Options'. I think that's a code error, i would replace

__('Options')

with

'Options'

Please let me know if this works so I can help you if it doesn't.

Regards
0
 
InsoftserviceCommented:
i think so , its issue in php myadmin.
may i know the version your using or your trying it with xampp
0
 
Th0RAuthor Commented:
Thanks, replacing that worked like a charm !
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.