Shape 5

Wordpress Club Themes => Corpway - Club => : turati April 26, 2015, 08:59:14 AM



: Language Error.
: turati April 26, 2015, 08:59:14 AM
Hi, i config and upload the theme to client mine, and now i see that error.
I try to change php version, mysql version, and same problem.
Could please help me
See error bellow
(http://meusitetemporario.com/error.jpg)


: Re: Language Error.
: Tristan Rineer April 27, 2015, 06:47:49 AM
I would need more information before I can even begin to guess where that error is coming from.  There's a good chance that it's being caused by a non-english version of WP, but other than that, the error itself is referring to WP core files, not something related to the theme or any plugins; so there's no indication of where the actual problem is.


: Re: Language Error.
: turati April 27, 2015, 09:45:35 AM
im unsing differents host, but in that case, im using a brazillian host, and only that i see that error, in another english or international host, dont see.
But need to know how to fix that. I dont know, send information to host to active or desative some resources on php, i dont know, need a idea or solution please.


: Re: Language Error.
: Tristan Rineer April 27, 2015, 12:12:05 PM
im unsing differents host, but in that case, im using a brazillian host, and only that i see that error, in another english or international host, dont see.

If the error is only on a single host, then the problem is with the host, not the theme.  You'll need to figure out what settings are different between the hosts; maybe that will help you find a solution.

You may also want to check your wp-config.php file and make sure WP_DEBUG is set to false.


: Re: Language Error.
: turati May 05, 2015, 01:08:27 PM
i enable debug, and see that


Strict Standards: Declaration of Accordion_Menu_Walker::start_el() should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /var/www/html/referenciaeducacao.com.br/web/teste/wp-content/plugins/s5-accordion-menu/accordion_menu_walker.php on line 0

Strict Standards: Only variables should be passed by reference in /var/www/html/referenciaeducacao.com.br/web/teste/wp-content/plugins/s5-box/s5_box.php on line 30

Strict Standards: Declaration of flexMenuWalker::start_lvl() should be compatible with Walker_Nav_Menu::start_lvl(&$output, $depth = 0, $args = Array) in /var/www/html/referenciaeducacao.com.br/web/teste/wp-content/themes/s5_corpway/vertex/s5flex_menu/flexmenu.walker.php on line 0

Strict Standards: Declaration of flexMenuWalker::end_lvl() should be compatible with Walker_Nav_Menu::end_lvl(&$output, $depth = 0, $args = Array) in /var/www/html/referenciaeducacao.com.br/web/teste/wp-content/themes/s5_corpway/vertex/s5flex_menu/flexmenu.walker.php on line 0

Strict Standards: Declaration of flexMenuWalker::start_el() should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /var/www/html/referenciaeducacao.com.br/web/teste/wp-content/themes/s5_corpway/vertex/s5flex_menu/flexmenu.walker.php on line 0

Strict Standards: Declaration of flexMenuWalker::end_el() should be compatible with Walker_Nav_Menu::end_el(&$output, $item, $depth = 0, $args = Array) in /var/www/html/referenciaeducacao.com.br/web/teste/wp-content/themes/s5_corpway/vertex/s5flex_menu/flexmenu.walker.php on line 0

Strict Standards: Declaration of flexMenuWalkerEdit::start_lvl() should be compatible with Walker_Nav_Menu::start_lvl(&$output, $depth = 0, $args = Array) in /var/www/html/referenciaeducacao.com.br/web/teste/wp-content/themes/s5_corpway/vertex/s5flex_menu/flexmenu.walker.php on line 0

Strict Standards: Declaration of flexMenuWalkerEdit::end_lvl() should be compatible with Walker_Nav_Menu::end_lvl(&$output, $depth = 0, $args = Array) in /var/www/html/referenciaeducacao.com.br/web/teste/wp-content/themes/s5_corpway/vertex/s5flex_menu/flexmenu.walker.php on line 0

Strict Standards: Declaration of flexMenuWalkerEdit::start_el() should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /var/www/html/referenciaeducacao.com.br/web/teste/wp-content/themes/s5_corpway/vertex/s5flex_menu/flexmenu.walker.php on line 0

Warning: Illegal offset type in isset or empty in /var/www/html/referenciaeducacao.com.br/web/teste/wp-includes/pomo/translations.php on line 85

Warning: Illegal offset type in isset or empty in /var/www/html/referenciaeducacao.com.br/web/teste/wp-includes/pomo/translations.php on line 85

Warning: Illegal offset type in isset or empty in /var/www/html/referenciaeducacao.com.br/web/teste/wp-includes/pomo/translations.php on line 85

Notice: Undefined index: type in /var/www/html/referenciaeducacao.com.br/web/teste/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php on line 171


uu can see in : http://referenciaeducacao.com.br/teste/
if u want, i create and send u login and pass to see


: Re: Language Error.
: Tristan Rineer May 07, 2015, 06:14:03 AM
Have you applied the Vertex Upgrade Patch (http://www.shape5.com/component/option,com_docman/Itemid,96/task,cat_view/gid,308)? 
I do not have any of those errors on my development site, so the latest version of the framework should function fine.

You'll also want to make sure you have the latest versions of any plugins; unfortunately, that can only be checked by downloading them, as I haven't quite figured out how to add version checking to our members-only extensions yet.


: Re: Language Error.
: turati May 07, 2015, 06:31:12 AM
well, just download that and send to theme folder or on plugin folder


: Re: Language Error.
: turati May 07, 2015, 07:14:15 AM
i upload in theme folder /wp-content/themes/s5_corpway and now the website dont load
still in loop and dont load nothing

http://referenciaeducacao.com.br/teste/


: Re: Language Error.
: Tristan Rineer May 07, 2015, 07:24:27 AM
The download page for the patch has very specific instructions for how to install it.  If you didn't follow those instructions, you may have corrupted the theme.


: Re: Language Error.
: turati May 07, 2015, 07:24:48 AM
same problem


: Re: Language Error.
: turati May 07, 2015, 07:53:50 AM
i do all like instruction but nothing, now dont work more


: Re: Language Error.
: Tristan Rineer May 07, 2015, 10:20:04 AM
If you PM me login and FTP information for your site, I'll take a look at it tomorrow.


: Re: Language Error.
: Tristan Rineer May 08, 2015, 09:14:54 AM
It's almost noon and I still haven't received a PM from you with login/FTP details for your site.  As I have other work that I need to get done today, I'll have to get to your site on Monday.  Please PM the information before the end of the weekend if you want me to look at your site first thing Monday morning.


: Re: Language Error.
: Tristan Rineer May 11, 2015, 08:16:40 AM
I have managed to stop the translation error from appearing on your site.  The problem is actually a bug in the WP core translation code for non-English versions of WP.  To fix the problem, I had to edit WP core code, so when you update WP, the error will probably come back.  Here's how to fix it if you have the problem again:

Edit wp-includes/pomo/translations.php and on or around line 85, change

:
	function translate_entry(&$entry) {
$key = $entry->key();
return isset($this->entries[$key])? $this->entries[$key] : false;
}

to

:
	function translate_entry(&$entry) {
$key = $entry->key();
return @isset($this->entries[$key])? $this->entries[$key] : false;
}

This will allow the translations to still work, but will prevent it from giving that error if something doesn't support translation.


: Re: Language Error.
: turati May 15, 2015, 09:23:28 AM
nice nice, thks


: Re: Language Error.
: turati May 15, 2015, 09:27:52 AM
well i acess now the wp-admin page and receive that popup error

`

Warning:  Illegal offset type in isset or empty in /var/www/html/referenciaeducacao.com.br/web/teste/wp-includes/pomo/translations.php on line 85



Warning:  Illegal offset type in isset or empty in /var/www/html/referenciaeducacao.com.br/web/teste/wp-includes/pomo/translations.php on line 85



Warning:  Illegal offset type in isset or empty in /var/www/html/referenciaeducacao.com.br/web/teste/wp-includes/pomo/translations.php on line 85

1`.


and still see (only in admin) the error

Warning: Illegal offset type in isset or empty in /var/www/html/referenciaeducacao.com.br/web/teste/wp-includes/pomo/translations.php on line 85

Warning: Illegal offset type in isset or empty in /var/www/html/referenciaeducacao.com.br/web/teste/wp-includes/pomo/translations.php on line 85

Warning: Illegal offset type in isset or empty in /var/www/html/referenciaeducacao.com.br/web/teste/wp-includes/pomo/translations.php on line 85


now cant change the theme function on config theme page


: Re: Language Error.
: turati May 19, 2015, 01:18:08 PM
please help me to fix that


: Re: Language Error.
: Tristan Rineer May 20, 2015, 06:09:31 AM
You must have re-installed or updated WordPress, the file that I edited before was changed back to the original code.

I have managed to stop the translation error from appearing on your site.  The problem is actually a bug in the WP core translation code for non-English versions of WP.  To fix the problem, I had to edit WP core code, so when you update WP, the error will probably come back.  Here's how to fix it if you have the problem again:

Edit wp-includes/pomo/translations.php and on or around line 85, change

:
	function translate_entry(&$entry) {
$key = $entry->key();
return isset($this->entries[$key])? $this->entries[$key] : false;
}

to

:
	function translate_entry(&$entry) {
$key = $entry->key();
return @isset($this->entries[$key])? $this->entries[$key] : false;
}

This will allow the translations to still work, but will prevent it from giving that error if something doesn't support translation.

You have been given the instructions for how to fix it; next time you will need to fix it yourself, as it is a problem with WP core and not technically covered by support.