Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROBLEM Internal Server Error
#1
when i save a theme edit, i get this error. why?
i'm trying to use 
<?php get_component...
Reply
#2
You may have forgotten the parentheses or quotes. Or you don't have such a component.
Code:
<?php get_component('banner'); ?>
Reply
#3
(2021-04-24, 19:13:22)Oleg06 Wrote: You may have forgotten the parentheses or quotes. Or you don't have such a component.
Code:
<?php get_component('banner'); ?>

i'm copying and pasting the code directly from the component editor
Code:
<?php get_component('newletter-popup'); ?>
Reply
#4
To help in a better way and speed up support - show some screenshots

imgbb has a decent screenshot service
as they allow delete after x time

Greetings
The GS team
Reply
#5
Felix: "show some screenshots"

And now it's working Big Grin

I put the tag into the "Default Template"
Reply
#6
(2021-04-24, 19:13:22)Oleg06 Wrote: You may have forgotten the parentheses or quotes. Or you don't have such a component.
Code:
<?php get_component('banner'); ?>

i'm experiencing this issue again. This isn't about using "get_component" -- it's about editing pages or the contents of components. 

My site loads fine, but if i go into component-editor and simply click Save Components (without making any changes), i get the error. 

[Image: get-simple-components-screen.png]

Same error if i try to edit an existing page. Not using "get_component" in the page.
Reply
#7
Quote:href="/donate"

are you sure that path format is not giving trouble ?
Use an absolute server path
Reply
#8
(2021-08-29, 19:43:21)Felix Wrote:
Quote:href="/donate"

are you sure that path format is not giving trouble ?
Use an absolute server path

it's not giving trouble. The component works. 
i tried an absolute path. Still getting same error. 

i have six components total. They all work. The only problem is clicking Save on this screen.
Reply




Users browsing this thread: 1 Guest(s)