django-daiquiri / wordpress-theme

Apache License 2.0
0 stars 1 forks source link

function.php produces a warning #1

Open galkinAIP opened 5 years ago

galkinAIP commented 5 years ago

Warning on wordpress, possible if layout is not present in the daiquiri app. Hence if you use a freshly cloned daiquiri and daiquiri app with a wordpress with the daiquir theme and plugin activated.

[php7:notice] [pid 261] [client 172.24.0.1:43106] http://mimosa:9494/layout/?request_uri=/cms/ returned 200
[php7:warn] [pid 261] [client 172.24.0.1:43106] PHP Warning:  simplexml_load_string() expects parameter 1 to be string, object given in /vol/wp/wp-content/themes/daiquiri/functions.php on line 80
jochenklar commented 5 years ago

I removed all html parsing in c73843b9b2397df47500aec8137e17aec7714381. I don't think it is necessary...