Link "See Codes" doesn't work if template has not specified different types
-
I created a custom template, and as of my needs, I didn’t create any other types than the one I need.
When I tried to see the code, how to use the plugin in my template (Zanto -> Blog Settings -> Language Switcher Settings -> “See Codes” link), I got the following error-message in a popup:
Warning: Invalid argument supplied for foreach() in /var/www/wordpress.local/wp-content/plugins/zanto/views/page-settings.php on line 489
Call Stack
# Time Memory Function Location
1 0.0006 302016 {main}( ) ../admin.php:0
2 0.2167 22234648 do_action( ) ../admin.php:217
3 0.2167 22236184 call_user_func_array ( ) ../plugin.php:429
4 0.2167 22236776 ZWT_Interfaces->markupSettingsPage( ) ../plugin.php:429
5 0.2182 22419280 require_once( ‘/var/www/wordpress.local/wp-content/plugins/zanto/views/page-settings.php’ ) ../class.zwt-interfaces.php:265
- The topic ‘Link "See Codes" doesn't work if template has not specified different types’ is closed to new replies.