Polylang and Astra custom layout hooks
-
Hello everyone,
I’ve got polylang’s Custom post types and Taxonomies/My templates and Custom layouts enabled but for the life of me, I can’t figure out why Astra’s various custom layout hooks won’t work properly!!
I have various hooks designed and translated (i.e.: header_before, footer_after, etc..) but, regardless of the hook condition I set(i.e.: entire website, all singulars, all pages, etc…), instead of the hook’s specific language being displayed, ALL translations show up!?!
Anyone encountered something similar and figure out a solution? If so, I’d greatly appreciate you letting me know what that solution is. If not, any suggestions to fix this would also be greatly appreciated.
Thanks in advance to everyone who replies.
Cheers,
Marc
== Server Environment == Operating System: Linux Software: Apache/2.4.33 (Amazon) MySQL version: Source distribution v PHP Version: 7.2.8 PHP Max Input Vars: 1000 PHP Max Post Size: 8M GD Installed: Yes ZIP Installed: Yes Write Permissions: All right Elementor Library: Connected == WordPress Environment == Version: 5.2.2 Site URL: https://www.datatelcom.com Home URL: https://www.datatelcom.com WP Multisite: No Max Upload Size: 8 MB Memory limit: 128M Permalink Structure: /%postname%/ Language: en-CA Timezone: America/Toronto Admin Email: Debug Mode: Inactive == Theme == Name: astra child Version: 1.0.0 Author: Brainstorm Force Child Theme: Yes Parent Theme Name: Astra Parent Theme Version: 1.8.7 Parent Theme Author: Brainstorm Force == User == Role: administrator WP Profile lang: en_CA User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0 == Active Plugins == Astra Bulk Edit Version: 1.1.0 Author: Brainstorm Force Astra Customizer Reset Version: 1.0.0 Author: Brainstorm Force Astra Pro Version: 1.8.7 Author: Brainstorm Force Astra Starter Sites Version: 1.3.17 Author: Brainstorm Force Astra Widgets Version: 1.1.1 Author: Brainstorm Force Custom Fonts Version: 1.0.8 Author: Brainstorm Force Easy Google Fonts Version: 1.4.4 Author: Titanium Themes Elementor Version: 2.5.16 Author: Elementor.com Elementor Pro Version: 2.5.9 Author: Elementor.com Email Encoder - Protect Email Address Version: 1.5.2 Author: Ironikus GDPR Cookie Consent Version: 1.7.7 Author: WebToffee Polylang Version: 2.6 Author: WP SYNTEX Polylang Connect for Elementor Version: 1.0.0 Author: David Decker - DECKERWEB Schema - All In One Schema Rich Snippets Version: 1.5.6 Author: Brainstorm Force Sidebar Manager Version: 1.0.2 Author: Brainstorm Force Smart Slider 3 Pro Version: 3.3.20 Author: Nextend TinyMCE Advanced Version: 5.2.1 Author: Andrew Ozz VFB Pro Version: 3.4 Author: Matthew Muro Wordfence Security Version: 7.3.4 Author: Wordfence WP Fastest Cache Version: 0.8.9.5 Author: Emre Vona WP Mail SMTP Version: 1.4.2 Author: WPForms Yoast SEO Premium Version: 11.5 Author: Team Yoast == Must-Use Plugins == Elementor Safe Mode Version: 1.0.0 Author: Elementor.com == Log == : <table><thead><th>JS: showing 18 of 18</th></thead><tbody class="elementor-log-entries"><tr><td>JS: 2019-04-27 17:00:06 [error X 1][https://www.datatelcom.com/wp-content/plugins/stackable-ultimate-gutenberg-blocks/dist/frontend_blocks.js?ver=1.15.1:8:5499] <strong>p.adapter.offset(...) is null</strong> </td></tr><tr><td>JS: 2019-05-15 17:22:28 [error X 8][https://www.datatelcom.com/wp-content/plugins/elementor/assets/js/editor-modules.min.js?ver=2.5.15:2:10531] <strong>n.attributes[t.name].each is not a function</strong> </td></tr><tr><td>JS: 2019-05-19 17:44:56 [error X 1][https://www.datatelcom.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.15:2:165400] <strong>t is undefined</strong> </td></tr><tr><td>JS: 2019-05-20 13:11:20 [error X 1][https://www.datatelcom.com/wp-content/plugins/elementor/assets/lib/e-select2/js/e-select2.full.min.js?ver=4.0.6-rc.1:1:60807] <strong>this.dataAdapter is null</strong> </td></tr><tr><td>JS: 2019-05-20 18:21:59 [error X 2][https://www.datatelcom.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.15:2:19579] <strong>this.ui.tools is undefined</strong> </td></tr><tr><td>JS: 2019-05-20 18:42:25 [error X 72][https://www.datatelcom.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.15:2:75476] <strong>setting getter-only property \"type\"</strong> </td></tr><tr><td>JS: 2019-06-05 22:07:04 [error X 1][https://www.datatelcom.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.16:2:8492] <strong>this.ui.select is undefined</strong> </td></tr><tr><td>JS: 2019-06-09 00:29:06 [error X 26][https://www.datatelcom.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.16:2:28317] <strong>n is undefined</strong> </td></tr><tr><td>JS: 2019-06-11 13:19:36 [error X 1][https://www.datatelcom.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.16:2:213040] <strong>e.ui.form is undefined</strong> </td></tr><tr><td>JS: 2019-06-11 18:44:59 [error X 1][https://www.datatelcom.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.16:2:83479] <strong>i is undefined</strong> </td></tr><tr><td>JS: 2019-06-14 19:09:13 [error X 2][https://www.datatelcom.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.16:2:53478] <strong>this.ui.sliders.filter(...)[0] is undefined</strong> </td></tr><tr><td>JS: 2019-06-18 12:34:12 [error X 1][https://www.datatelcom.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.16:2:66968] <strong>i is null</strong> </td></tr><tr><td>JS: 2019-06-18 14:06:40 [error X 1][https://www.datatelcom.com/wp-admin/js/editor.min.js?ver=5ae6607fb33442cb9658e8b174b23be0:1:681] <strong>j is undefined</strong> </td></tr><tr><td>JS: 2019-06-18 14:06:40 [error X 1][https://www.datatelcom.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.16:2:215835] <strong>e.editor is null</strong> </td></tr><tr><td>JS: 2019-06-19 18:27:55 [error X 15][https://www.datatelcom.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.16:2:211627] <strong>n.ui.input is undefined</strong> </td></tr><tr><td>JS: 2019-06-22 14:08:47 [error X 2][https://www.datatelcom.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.16:2:137143] <strong>e is null</strong> </td></tr><tr><td>JS: 2019-06-23 11:51:10 [error X 1][https://www.datatelcom.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.16:2:73199] <strong>this.panel is undefined</strong> </td></tr><tr><td>JS: 2019-06-24 20:43:58 [error X 1][https://www.datatelcom.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.16:2:83489] <strong>Cannot set property \'controls\' of undefined</strong> </td></tr></tbody></table><table><thead><th>Log: showing 2 of 2</th></thead><tbody class="elementor-log-entries"><tr><td>2019-05-14 17:58:41 [info] <strong>Elementor data updater process has been completed.</strong> [array ( 'plugin' => 'Elementor', 'from' => '2.5.14', 'to' => '2.5.15', )]</td></tr><tr><td>2019-05-28 11:24:01 [info] <strong>Elementor data updater process has been completed.</strong> [array ( 'plugin' => 'Elementor', 'from' => '2.5.15', 'to' => '2.5.16', )]</td></tr></tbody></table><table><thead><th>PHP: showing 4 of 4</th></thead><tbody class="elementor-log-entries"><tr><td>PHP: 2019-06-01 09:21:00 [error X 1][/nfsvol-b/43/51943/datatelcom.com/nic_wordpress/wp-content/plugins/elementor/core/common/modules/ajax/module.php::258] <strong>Allowed memory size of 134217728 bytes exhausted (tried to allocate 9728000 bytes)</strong> [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )]</td></tr><tr><td>PHP: 2019-06-08 20:12:37 [notice X 6][/nfsvol-b/43/51943/datatelcom.com/nic_wordpress/wp-content/plugins/elementor-pro/modules/global-widget/widgets/global-widget.php::30] <strong>Undefined index: templateID</strong> [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )]</td></tr><tr><td>PHP: 2019-06-08 20:14:18 [error X 1][/nfsvol-b/43/51943/datatelcom.com/nic_wordpress/wp-content/plugins/elementor/includes/base/controls-stack.php::1952] <strong>Uncaught TypeError: Argument 1 passed to Elementor\Controls_Stack::sanitize_settings() must be of the type array, null given, called in /nfsvol-b/43/51943/datatelcom.com/nic_wordpress/wp-content/plugins/elementor/includes/base/controls-stack.php on line 1018 and defined in /nfsvol-b/43/51943/datatelcom.com/nic_wordpress/wp-content/plugins/elementor/includes/base/controls-stack.php:1952 Stack trace: #0 /nfsvol-b/43/51943/datatelcom.com/nic_wordpress/wp-content/plugins/elementor/includes/base/controls-stack.php(1018): Elementor\Controls_Stack->sanitize_settings(NULL) #1 /nfsvol-b/43/51943/datatelcom.com/nic_wordpress/wp-content/plugins/elementor/includes/base/element-base.php(734): Elementor\Controls_Stack->get_data() #2 /nfsvol-b/43/51943/datatelcom.com/nic_wordpress/wp-content/plugins/elementor/includes/base/widget-base.php(610): Elementor\Element_Base->get_raw_data(false) #3 /nfsvol-b/43/51943/datatelcom.com/nic_wordpress/wp-content/plugins/elementor-pro/modules/global-widget/widgets/global-widget.php(64): E</strong> [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )]</td></tr><tr><td>PHP: 2019-06-11 16:13:34 [notice X 5][/nfsvol-b/43/51943/datatelcom.com/nic_wordpress/wp-content/plugins/elementor/includes/settings/system-info/classes/server.php::238] <strong>Trying to get property 'Value' of non-object</strong> [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )]</td></tr></tbody></table>
- The topic ‘Polylang and Astra custom layout hooks’ is closed to new replies.