Forum Replies Created
-
AuthorPosts
-
Sorry it is .com, not .it, but Andy the right url is written more than 10 times on previous posts, I am really asking to myself if you are kidding me or not…
Anyway I do not need help anymore, you can’t solve the issue…
- This reply was modified 8 years, 10 months ago by alebrandcare.
Andy, it is simple!
You have just to click on a link provided!
The Enfold site (in stage) is http://www.alessandracolucci.it/enfold/, a subdirectory, you’ve checked the wrong path without /enfold/, I don’t know why.Anyway I found this topic: https://kriesi.at/support/topic/problem-with-portfolio-filtering-paging/
So since 2013 there is that bug and no one at Kriesi support knows about it, and it is not written anything in the guide: it is ridicolous!
You have to disable the pagination in portfolio if it cannot work!
But I think the worst thing it is that Kriesi knows about that bug and they said: “That said there’s no “fix” – maybe we’ll add an ajax filter to the theme but we have no concrete plans yet.”.
To me it’s like buying a car with a car door that does not open and say, ” we could change the zipper, but we are not going to do it, there are other car doors you can use”.So you are selling a product that does not work properly and you do not provide any advice about it!
However the only conclusion I have reached is that I have to write the code by myself and I am sure it will likely work better.Regards
- This reply was modified 8 years, 10 months ago by alebrandcare.
Here you are: http://www.alessandracolucci.com/enfold/category/brand/
I think my friend p_castro has solved by this: https://wpml.org/forums/topic/warning-illegal-offset-type-in-isset-or-empty-in-2/#post-667754
But Andy, I am sorry that is not enough, that is an error, and it is tiring and boring that every time we, users, have to repeat and repeat everytime the same things…Hi Andy!
Are you kidding me?
Check any of the links that I have provided, only one!
State that Enfold is not activated is like saying that I am a horse! :DHi p_castro check here: https://wpml.org/forums/topic/warning-illegal-offset-type-in-isset-or-empty-in-2/#post-667754
It is a common problem and the only solution provided is oscuring the php warning.
I’ll check Google and I found maybe 30 messages that asks Kriesi support the same thing. So or they are using a worst knowledge base because I thinkg it’s really impossible that they can ignore such an issue reported by so many users, or they don’t want to solve the problem and the give obscure replies to make sure that a user will be tired of asking.I have reported another problem mansory/portfolio related (the pagination do not work, the category filter do not work) and the same… They do not solve nothing, they said as usual they cannot found the problem, they said I have to disable all the plugins, etc, etc…
But Google is my friend: https://kriesi.at/support/topic/problem-with-portfolio-filtering-paging/
The problem is known since 2013, it is a classic example of bad design rather than an error. It would be easier to give me that link and tell me that I had to accept the issue insted giving me obscure and superficial replies. So I’ve lost 20 hours of debugging and the only solution I found is to rewrite all the code!Anyway the php warning problem is related to blog grid, if you check archive.php you can see:
$atts = array(
‘type’ => ‘grid’,
‘items’ => get_option(‘posts_per_page’),
‘columns’ => 3,
‘class’ => ‘avia-builder-el-no-sibling’,
‘paginate’ => ‘yes’,
‘use_main_query_pagination’ => ‘yes’,
‘custom_query’ => array( ‘post__in’=>$post_ids, ‘post_type’=>get_post_types() )
);
$blog = new avia_post_slider($atts);
$blog->query_entries();
echo “<div class=’entry-content-wrapper’>”.$blog->html().”</div>”;the query $blog->query_entries(); (raw 60) gives an error because the post_type “grid” is not properly created as usual.
I am not very keen in php, but I think that is the problem…Please reply to me if you have red, because I think Kriesi will cancel my comment… :)
Hi p_castro I am suffering the same problem, have you solved it?
Update:
Issue 1: the problem is caused by the pagination, if I choose to see n posts per page and I filter for a category that contains some posts on the second pagination page they cannot be viewed. This is an Enfold bug, I cannot deactivate pagination or I have to see hundred posts per page.Issue 2: I have deactivated all plugins, obviously the plugin involved is wpml. The problem is related to blog grid visualization, if I deactivate it everything works. But the problem is not an error of wpml plugin, it is something wrong in your code not compatible with wpml. In fact the plugin cannot find “grid” as custom post type.
Regards
EnricoSorry Vinay, but you are wrong!
Go to http://www.alessandracolucci.com/enfold/lavoro-clienti/, choose “Social Media Management”. You can see 0 posts, and the pagination has 3 items that is wrong! I have to see 1 item if the number of posts are less than the selected value to create another pagination item.The portfolio category “social media management” has 2 posts:, the portfolio category “produzione video” has 8 posts, check the screenshot, or go to portfolio categories in administration:
But if I select the portfolio page (http://www.alessandracolucci.com/enfold/lavoro-clienti/) then “social media management” category I cannot see posts! If I select category “produzione video” I can see 1 posts of 8! Do you understand me now?
If I choose the portfolio page (http://www.alessandracolucci.com/enfold/lavoro-clienti/) then “brand management” I can see 8 posts of 13!
IIf I choose the portfolio page (http://www.alessandracolucci.com/enfold/lavoro-clienti/) then “formazione” I can see 9 posts of 9, that is ok, but I don’t understand why the pagination is active: the item 2 and 3 are wrong, there aren’t other posts in a second or third page, if I click 2 or 3 I see al the posts, it is a very strange issue!Issue 2: the warning is cause by Wpml, it is clear, I do not need to check every plugin it is written on the error!!!
But as I said in my opinion the issue is caused by the enfold code and not by wpml, check my previuos message.With the greatest respect I must say that you are treating me in a somewhat too superficial manner, I am only asking to pay attention to what I am written, if something is not clear I can explain better!
Thank you for the patience. :)
Hi Elliott, maybe my English is terrible, but you do not understand what I have written, and I’ve made two different questions about two different issues, if it is necessary I’ll open another thread for my second question.
Issue 1 – Portfolio – http://www.alessandracolucci.com/enfold/lavoro-clienti/
1. In every category of the portfolio there are posts, there are no category without posts. Some categories do not display anything even if there are posts published on them (for example the category “social media management” or “produzione video” that shows only one post of eight!).
2. If I click on every category I see Always the pagination (3 items) even if there are few posts (for example “content management”). So if I click on the item 2 or 3 of the pagination Enfold shows me all the posts, it is wrong!Issue 2 – Php Warning
1. Every category of the blog (check for example: http://www.alessandracolucci.com/enfold/category/creativita/) shows a php warning:Warning: Illegal offset type in isset or empty in /web/htdocs/www.alessandracolucci.com/home/enfold/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 5207 Warning: Illegal offset type in isset or empty in /web/htdocs/www.alessandracolucci.com/home/enfold/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 5211 Warning: Illegal offset type in isset or empty in /web/htdocs/www.alessandracolucci.com/home/enfold/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 5207 Warning: Illegal offset type in isset or empty in /web/htdocs/www.alessandracolucci.com/home/enfold/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 5211 Warning: Illegal offset type in isset or empty
[…]Checking the template file archive.php I see:
$atts = array(
‘type’ => ‘grid’,
‘items’ => get_option(‘posts_per_page’),
‘columns’ => 3,
‘class’ => ‘avia-builder-el-no-sibling’,
‘paginate’ => ‘yes’,
‘use_main_query_pagination’ => ‘yes’,
‘custom_query’ => array( ‘post__in’=>$post_ids, ‘post_type’=>get_post_types() )
);
$blog = new avia_post_slider($atts);
$blog->query_entries();
echo “<div class=’entry-content-wrapper’>”.$blog->html().”</div>”;when is launched $blog->query_entries(); (row 60) there is an error and the system said the post type do not exist!
Warning: Illegal offset type in isset or empty in /web/htdocs/www.alessandracolucci.com/home/enfold/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 5207
Warning: Illegal offset type in isset or empty in /web/htdocs/www.alessandracolucci.com/home/enfold/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 5211So what can I do to solve the issues?
I’ve added the user and password so you can check… -
AuthorPosts