[SOLVED] HELP! "500 Please specify a valid view type in your fabrik {} code:"

Status
Not open for further replies.
I have this error on Home page.

500 Please specify a valid view type in your fabrik {} code:


I don't remember if I modified something and I don't understand what I wrong...

I have only the Main Menu on Home; it has Home and other two items.
I tried to unpublish the two items, but the error didn't disappear.

I don't understand...
 
That comes from the content plugin if you don't have a valid view in it, like {fabrik view=blah ...}. Valid view types are form, list, element and visualization.

So somewhere, you've got a {fabrik view=something ...} in an article or a module, etc. which doesn't specify a valid view.

-- hugh
 
Hi troester.

Thank you! Ok, it is strange :confused: but you solved :).

Please, give me some information useful for me if it will happen again:
- Can you clarify "Fabrik content plugin"? Is it Extensions/Plugins/Content - Fabrik ?
- Can you explain better what Hugh wrote? Is it something that I wrong?


Can I install new J! 3.4.3 ? Is last Fabrik compatible?

------------------------------------------------------------------------

News... :(
It is not a good news, but can help to understand...

I get the same issue launching the Scheduled Task "Invio email sollecito pagamento Quota (prima) Iscrizione".

Scheduled Tasks where last modifications before I had the issue (the first one that you solved).
 
Content plugin (yes, Extensions/Plugins/Content - Fabrik ):
gives you the possibility to include fabrik lists, form, vizs into Joomla articles or custom HTML modules with a string like
{fabrik view=list id=1}
(as you don't know about it I assume you don't use it until now)

And I think I'm seeing your problem in the Scheduled Task:
you have a table "fabrik_xxx", so element placeholders are looking like
{fabrik_nominativi___E_mail} and {fabrik_nominativi___Stato_Simpatizzante_Socio_raw}

which seems to be interpreted as a content plugin string at some point - which is a bug
https://github.com/Fabrik/fabrik/issues/1516

If you don't use the content plugin anywhere you can just disable the content plugin as a workaround.
 
I see that you opened an issue for my problem; thank you.
Yes, I don't use at the moment Fabrik content in Joomla articles or custom HTML modules.
I will need it to display some statistics on articles.

But:

I tried:
1.
- content plugin disabled
- message of the Scheduled email: no PHP, only HTML
- PHP Eval = no
It worked (with no PHP substitutions)

2.
- content plugin disabled
- message of the Scheduled email: PHP (with HTML)
- PHP Eval = yes
It worked but no message was sent:

Nota

Message body empty
Messaggio

1 records updated
So, Scheduled email using PHP needs content plugin enabled.


Meanwhile you correct the malfunction, I modified as 1. (only using placeholders).
 
So, Scheduled email using PHP needs content plugin enabled.
I don't think so, I assume there's a php error in your message body.
I think you can check this by
setting Joomla error reporting to max
adding an "exit;" at the end of your code
run the plugin manually
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top