Jede seite ist gleich/ The_content funktion fehler
-
hallo ich habe ein problem, ich verzweifele und bin dankbar für jede hilfe
problem
1.ich habe jetzt 6 seiten erstellt und alle 6 in einem menu geordnet, ins main menu
jetzt versuche ich die einzeln umzuändern
z.B Home und Member-Club sollten nicht gleich aussehenich änder in Home einen Roten papagein z.B
Gehe auf Member-Club da ist der rote papagei….
und das bei allen 5das wäre problem 1
——————————–problem 2
You must call the_content function in the current template, in order for Elementor to work on this page.“
ich habe auch in der page.php <?php get_content (); ?> eingegeben und es kommt trzdm die fehlermeldung raus…>.<
bitte könnt ihr mir helfen wäre dankbar weil ihr seid bestimmt besser grad dran als ich und erfahrener
(könnt auch die daten bekommen, falls ihr euch das ansehen wollt)
lg
———————————————
Die Seite, für die ich Hilfe brauche: [Anmelden, um den Link zu sehen]
-
== Server Environment == Operating System: Linux Software: Apache MySQL version: MySQL Community Server - GPL v8.0.19 PHP Version: 7.3.20-1+0~20200710.65+debian9~1.gbpc9cbeb PHP Max Input Vars: 1000 PHP Max Post Size: 150M GD Installed: Yes ZIP Installed: Yes Write Permissions: All right Elementor Library: Connected == WordPress Environment == Version: 5.4.2 Site URL: https://www.dschilani.de Home URL: http://www.dschilani.de WP Multisite: No Max Upload Size: 150 MB Memory limit: 256M Permalink Structure: /archives/%post_id% Language: en-CA Timezone: Europe/Berlin Debug Mode: Inactive == Theme == Name: Astra Version: 2.5.1 Author: Brainstorm Force Child Theme: No == User == Role: administrator WP Profile lang: en_CA User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36 == Active Plugins == Elementor Version: 2.9.14 Author: Elementor.com Elementor - Header, Footer & Blocks Version: 1.5.1 Author: Brainstorm Force, Nikhil Chavan Elementor Pro Version: 2.10.3 Author: Elementor.com Really Simple SSL Version: 3.3.4 Author: Really Simple Plugins UpdraftPlus - Backup/Restore Version: 1.16.26 Author: UpdraftPlus.Com, DavidAnderson WooCommerce Version: 4.3.1 Author: Automattic == Must-Use Plugins == Health Check Troubleshooting Mode Version: 1.7.1 Author: rms_unique_wp_mu_pl_fl_nm.php Version: Author: == Elements Usage == header : 0 image : 1 wp-post : 0 button : 2 heading : 7 hfe-search-button : 1 icon-list : 5 image : 2 nav-menu : 1 social-icons : 2 woocommerce-menu-cart : 1 wp-page : 3 image : 1 == Log == JS: showing 8 of 8JS: 2020-07-28 00:26:02 [error X 1][https://dschilani.de/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:124:3] sidebarPos is undefined JS: 2020-07-28 00:26:02 [error X 4][https://dschilani.de/wp-content/plugins/elementor-pro/assets/js/editor.min.js?ver=2.8.3:2:54582] elementor.$previewContents.find(...).offset() is undefined JS: 2020-07-28 00:29:59 [error X 7][https://dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:31:95824] i is null JS: 2020-07-28 00:40:52 [error X 5][https://dschilani.de/wp-content/plugins/elementor-pro/assets/js/editor.min.js?ver=2.8.3:2:54590] Cannot read property \'top\' of undefined JS: 2020-08-05 02:34:44 [error X 2][https://www.dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:31:62095] elementorFrontend is not defined JS: 2020-08-05 04:01:23 [error X 1][https://www.dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:7:58831] Blocked a frame with origin \"https://www.dschilani.de\" from accessing a cross-origin frame. JS: 2020-08-05 04:03:51 [error X 1][https://www.dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:31:153580] Cannot read property \'html\' of undefined JS: 2020-08-05 05:53:21 [error X 1][https://www.dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:31:103127] i.ui.sync.removeClass is not a function Log: showing 1 of 12020-08-04 01:25:27 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor Pro', 'from' => '2.8.3', 'to' => '2.10.3', )] PHP: showing 3 of 3PHP: 2020-08-04 06:09:12 [notice X 10][/home/www/wordpress/wp-content/plugins/elementor/includes/template-library/sources/local.php::1032] Trying to get property 'post_type' of non-object [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] PHP: 2020-08-05 05:32:39 [warning X 1][/home/www/wordpress/wp-content/plugins/elementor-pro/modules/assets-manager/asset-types/icons/custom-icons.php::181] unlink(hiclipart.com (8).png): No such file or directory [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] PHP: 2020-08-05 09:43:05 [notice X 1][/home/www/wordpress/wp-content/plugins/elementor-pro/modules/library/wp-widgets/elementor-library.php::141] Undefined index: template_id [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )]
- Diese Antwort wurde geändert vor 4 Jahren, 4 Monaten von dummyboy23.
- Diese Antwort wurde geändert vor 4 Jahren, 4 Monaten von Bego Mario Garde. Grund: als Code formatiert
== Server Environment == Operating System: Linux Software: Apache MySQL version: MySQL Community Server - GPL v8.0.19 PHP Version: 7.3.20-1+0~20200710.65+debian9~1.gbpc9cbeb PHP Max Input Vars: 1000 PHP Max Post Size: 150M GD Installed: Yes ZIP Installed: Yes Write Permissions: All right Elementor Library: Connected == WordPress Environment == Version: 5.4.2 Site URL: https://www.dschilani.de Home URL: http://www.dschilani.de WP Multisite: No Max Upload Size: 150 MB Memory limit: 256M Permalink Structure: /archives/%post_id% Language: en-CA Timezone: Europe/Berlin Debug Mode: Inactive == Theme == Name: Astra Version: 2.5.1 Author: Brainstorm Force Child Theme: No == User == Role: administrator WP Profile lang: en_CA User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36 == Active Plugins == Elementor Version: 2.9.14 Author: Elementor.com Elementor - Header, Footer & Blocks Version: 1.5.1 Author: Brainstorm Force, Nikhil Chavan Elementor Pro Version: 2.10.3 Author: Elementor.com Really Simple SSL Version: 3.3.4 Author: Really Simple Plugins UpdraftPlus - Backup/Restore Version: 1.16.26 Author: UpdraftPlus.Com, DavidAnderson WooCommerce Version: 4.3.1 Author: Automattic == Must-Use Plugins == Health Check Troubleshooting Mode Version: 1.7.1 Author: rms_unique_wp_mu_pl_fl_nm.php Version: Author: == Elements Usage == header : 0 image : 1 wp-post : 0 button : 2 heading : 7 hfe-search-button : 1 icon-list : 5 image : 2 nav-menu : 1 social-icons : 2 woocommerce-menu-cart : 1 wp-page : 3 image : 1 == Log == JS: showing 8 of 8JS: 2020-07-28 00:26:02 [error X 1][https://dschilani.de/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:124:3] sidebarPos is undefined JS: 2020-07-28 00:26:02 [error X 4][https://dschilani.de/wp-content/plugins/elementor-pro/assets/js/editor.min.js?ver=2.8.3:2:54582] elementor.$previewContents.find(...).offset() is undefined JS: 2020-07-28 00:29:59 [error X 7][https://dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:31:95824] i is null JS: 2020-07-28 00:40:52 [error X 5][https://dschilani.de/wp-content/plugins/elementor-pro/assets/js/editor.min.js?ver=2.8.3:2:54590] Cannot read property \'top\' of undefined JS: 2020-08-05 02:34:44 [error X 2][https://www.dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:31:62095] elementorFrontend is not defined JS: 2020-08-05 04:01:23 [error X 1][https://www.dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:7:58831] Blocked a frame with origin \"https://www.dschilani.de\" from accessing a cross-origin frame. JS: 2020-08-05 04:03:51 [error X 1][https://www.dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:31:153580] Cannot read property \'html\' of undefined JS: 2020-08-05 05:53:21 [error X 1][https://www.dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:31:103127] i.ui.sync.removeClass is not a function Log: showing 1 of 12020-08-04 01:25:27 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor Pro', 'from' => '2.8.3', 'to' => '2.10.3', )] PHP: showing 3 of 3PHP: 2020-08-04 06:09:12 [notice X 10][/home/www/wordpress/wp-content/plugins/elementor/includes/template-library/sources/local.php::1032] Trying to get property 'post_type' of non-object [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] PHP: 2020-08-05 05:32:39 [warning X 1][/home/www/wordpress/wp-content/plugins/elementor-pro/modules/assets-manager/asset-types/icons/custom-icons.php::181] unlink(hiclipart.com (8).png): No such file or directory [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] PHP: 2020-08-05 09:43:05 [notice X 1][/home/www/wordpress/wp-content/plugins/elementor-pro/modules/library/wp-widgets/elementor-library.php::141] Undefined index: template_id [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )]
Operating System: Linux Software: Apache MySQL version: MySQL Community Server - GPL v8.0.19 PHP Version: 7.3.20-1+0~20200710.65+debian9~1.gbpc9cbeb PHP Max Input Vars: 1000 PHP Max Post Size: 150M GD Installed: Yes ZIP Installed: Yes Write Permissions: All right Elementor Library: Connected WordPress Environment Version: 5.4.2 Site URL: https://www.dschilani.de Home URL: http://www.dschilani.de WP Multisite: No Max Upload Size: 150 MB Memory limit: 256M Permalink Structure: /archives/%post_id% Language: en-CA Timezone: Europe/Berlin Admin Email: Info@Dschilani.de Debug Mode: Inactive Theme Name: Astra Version: 2.5.1 Author: Brainstorm Force Child Theme: No If you want to modify the source code of your theme, we recommend using a child theme. User Role: administrator WP Profile lang: en_CA User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36 Active Plugins Elementor - 2.9.14 By Elementor.com Elementor - Header, Footer & Blocks - 1.5.1 By Brainstorm Force, Nikhil Chavan Elementor Pro - 2.10.3 By Elementor.com Really Simple SSL - 3.3.4 By Really Simple Plugins UpdraftPlus - Backup/Restore - 1.16.26 By UpdraftPlus.Com, DavidAnderson WooCommerce - 4.3.1 By Automattic Must-Use Plugins Health Check Troubleshooting Mode - 1.7.1 rms_unique_wp_mu_pl_fl_nm.php Elements UsageRecalculate Page ( 3 ) Image: 1 Post ( 0 ) Button: 2 Heading: 7 Icon List: 5 Image: 2 Menu Cart: 1 Nav Menu: 1 Search: 1 Social Icons: 2 Theme - Header ( 0 ) Image: 1 LogClear Log JS: showing 8 of 8 JS: 2020-07-28 00:26:02 [error X 1][https://dschilani.de/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:124:3] sidebarPos is undefined JS: 2020-07-28 00:26:02 [error X 4][https://dschilani.de/wp-content/plugins/elementor-pro/assets/js/editor.min.js?ver=2.8.3:2:54582] elementor.$previewContents.find(...).offset() is undefined JS: 2020-07-28 00:29:59 [error X 7][https://dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:31:95824] i is null JS: 2020-07-28 00:40:52 [error X 5][https://dschilani.de/wp-content/plugins/elementor-pro/assets/js/editor.min.js?ver=2.8.3:2:54590] Cannot read property \'top\' of undefined JS: 2020-08-05 02:34:44 [error X 2][https://www.dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:31:62095] elementorFrontend is not defined JS: 2020-08-05 04:01:23 [error X 1][https://www.dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:7:58831] Blocked a frame with origin \"https://www.dschilani.de\" from accessing a cross-origin frame. JS: 2020-08-05 04:03:51 [error X 1][https://www.dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:31:153580] Cannot read property \'html\' of undefined JS: 2020-08-05 05:53:21 [error X 1][https://www.dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:31:103127] i.ui.sync.removeClass is not a function Log: showing 1 of 1 2020-08-04 01:25:27 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor Pro', 'from' => '2.8.3', 'to' => '2.10.3', )] PHP: showing 3 of 3 PHP: 2020-08-04 06:09:12 [notice X 10][/home/www/wordpress/wp-content/plugins/elementor/includes/template-library/sources/local.php::1032] Trying to get property 'post_type' of non-object [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] PHP: 2020-08-05 05:32:39 [warning X 1][/home/www/wordpress/wp-content/plugins/elementor-pro/modules/assets-manager/asset-types/icons/custom-icons.php::181] unlink(hiclipart.com (8).png): No such file or directory [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] PHP: 2020-08-05 09:43:05 [notice X 1][/home/www/wordpress/wp-content/plugins/elementor-pro/modules/library/wp-widgets/elementor-library.php::141] Undefined index: template_id [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )]
- Diese Antwort wurde geändert vor 4 Jahren, 4 Monaten von dummyboy23.
Operating System: Linux Software: Apache MySQL version: MySQL Community Server - GPL v8.0.19 PHP Version: 7.3.20-1+0~20200710.65+debian9~1.gbpc9cbeb PHP Max Input Vars: 1000 PHP Max Post Size: 150M GD Installed: Yes ZIP Installed: Yes Write Permissions: All right Elementor Library: Connected WordPress Environment Version: 5.4.2 Site URL: https://www.dschilani.de Home URL: http://www.dschilani.de WP Multisite: No Max Upload Size: 150 MB Memory limit: 256M Permalink Structure: /archives/%post_id% Language: en-CA Timezone: Europe/Berlin Admin Email: Info@Dschilani.de Debug Mode: Inactive Theme Name: Astra Version: 2.5.1 Author: Brainstorm Force Child Theme: No If you want to modify the source code of your theme, we recommend using a child theme. User Role: administrator WP Profile lang: en_CA User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36 Active Plugins Elementor - 2.9.14 By Elementor.com Elementor - Header, Footer & Blocks - 1.5.1 By Brainstorm Force, Nikhil Chavan Elementor Pro - 2.10.3 By Elementor.com Really Simple SSL - 3.3.4 By Really Simple Plugins UpdraftPlus - Backup/Restore - 1.16.26 By UpdraftPlus.Com, DavidAnderson WooCommerce - 4.3.1 By Automattic Must-Use Plugins Health Check Troubleshooting Mode - 1.7.1 rms_unique_wp_mu_pl_fl_nm.php Elements UsageRecalculate Page ( 3 ) Image: 1 Post ( 0 ) Button: 2 Heading: 7 Icon List: 5 Image: 2 Menu Cart: 1 Nav Menu: 1 Search: 1 Social Icons: 2 Theme - Header ( 0 ) Image: 1 LogClear Log JS: showing 8 of 8 JS: 2020-07-28 00:26:02 [error X 1][https://dschilani.de/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:124:3] sidebarPos is undefined JS: 2020-07-28 00:26:02 [error X 4][https://dschilani.de/wp-content/plugins/elementor-pro/assets/js/editor.min.js?ver=2.8.3:2:54582] elementor.$previewContents.find(...).offset() is undefined JS: 2020-07-28 00:29:59 [error X 7][https://dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:31:95824] i is null JS: 2020-07-28 00:40:52 [error X 5][https://dschilani.de/wp-content/plugins/elementor-pro/assets/js/editor.min.js?ver=2.8.3:2:54590] Cannot read property \'top\' of undefined JS: 2020-08-05 02:34:44 [error X 2][https://www.dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:31:62095] elementorFrontend is not defined JS: 2020-08-05 04:01:23 [error X 1][https://www.dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:7:58831] Blocked a frame with origin \"https://www.dschilani.de\" from accessing a cross-origin frame. JS: 2020-08-05 04:03:51 [error X 1][https://www.dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:31:153580] Cannot read property \'html\' of undefined JS: 2020-08-05 05:53:21 [error X 1][https://www.dschilani.de/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.14:31:103127] i.ui.sync.removeClass is not a function Log: showing 1 of 1 2020-08-04 01:25:27 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor Pro', 'from' => '2.8.3', 'to' => '2.10.3', )] PHP: showing 3 of 3 PHP: 2020-08-04 06:09:12 [notice X 10][/home/www/wordpress/wp-content/plugins/elementor/includes/template-library/sources/local.php::1032] Trying to get property 'post_type' of non-object [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] PHP: 2020-08-05 05:32:39 [warning X 1][/home/www/wordpress/wp-content/plugins/elementor-pro/modules/assets-manager/asset-types/icons/custom-icons.php::181] unlink(hiclipart.com (8).png): No such file or directory [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] PHP: 2020-08-05 09:43:05 [notice X 1][/home/www/wordpress/wp-content/plugins/elementor-pro/modules/library/wp-widgets/elementor-library.php::141] Undefined index: template_id [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )]
ich änder in Home einen Roten papagein z.B
Gehe auf Member-Club da ist der rote papagei….
und das bei allen 5
das wäre problem 1Wie sollen wir das nachvollziehen?
Was meinst du mit „ich änder in Home“?
Änderst du den Inhalt einer Seite? Ein Template?ich habe auch in der page.php <?php get_content (); ?> eingegeben und es kommt trzdm die fehlermeldung raus…>.<
Vielleicht, weil es die Funktion gar nicht gibt? Meinst du
get_the_content()
? Wie gibst du das dann aus? (get_the_content()
gibt den Inhalt einer Seite/eines Beitrags zurück (return
), währendthe_content()
den Inhalt ausgibt (echo
). Wieso nimmst du überhaupt Änderungen am Template vor? Verwendest du ein Child Theme?könnt auch die daten bekommen, falls ihr euch das ansehen wollt
Schauen wir uns sicher gerne an, wenn du den Code für alle zugänglich machst (z.B. auf pastebin.com und dann hier den Link angeben). Dass wir uns nicht bei dir einloggen, haben wir ausführlich beschrieben: Kannst du mich nicht anrufen oder mal schnell bei mir einloggen?
Mehrere Beiträge steckten noch in der Warteschlange zur Moderation.
Wenn du kein Child-Theme verwendest, werden Änderungen an Templates beim nächsten Update überschrieben. Bitte verwende deshalb ein Child-Theme.
Zu gekauften Plugins (Elementor Pro) können wir dir nicht weiterhelfen, weil sie uns nicht zur Verfügung stehen. Bei Fragen, die dieses Plugin betreffen, solltest du dich an den Plugin-Entwickler wenden.
Ansonsten bleibt es dabei, dass deine Fehlerbeschreibung kaum nachvollziehbar ist und wir Code, den wir nicht einsehen können, auch nicht beurteilen können.
- Das Thema „Jede seite ist gleich/ The_content funktion fehler“ ist für neue Antworten geschlossen.