Forum Replies Created
-
AuthorPosts
-
Thanks Andy!
Regards,
DiegoHi,
If this issue is not going to be fixed soon I think Kriesi should include –in the documentation of the theme– the description of the problem and the workaround to hide the warning messages, something like:
“If you are using the
WPML
plugin and you select the option Grid Layout in Enfold Settings > Blog Layout (tab) >Blog Layout then include the following code in your wp-config.php file in order to avoid warning messages on category pages:…”Thanks!
Best regards,
DiegoHi @Andy,
You can’t see any warning messages anymore because I added some code in wp-config.php in order to hide them. There are at least two possible ways to hide the warnings that worked in my case, one recommended for local testing and staging installs and another one for live websites. Just replace the line
define('WP_DEBUG', true);
ordefine('WP_DEBUG', false);
. Both of them allow you to keep a log file of warnings and errors. Here you have:For local testing and staging installs (it will save the warning and errors in wp-content/debug.log, it is safer if the file is manually created):
define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false);
For live websites (it will save the warning and errors in wp-content/phperrors.log, the path and file name can be changed):
define('WP_DEBUG', false); @ini_set('log_errors','On'); @ini_set('display_errors','Off'); @ini_set('error_log','wp-content/phperrors.log'); // path to server-writable log file
@alebrandcare, the solution that you pointed out, provided by theWPML
team in https://wpml.org/forums/topic/warning-illegal-offset-type-in-isset-or-empty-in-2/#post-667754, works fine aswell, but just as long as WP_DEBUG is set to false. I still prefer the solutions I used as they allow me to keep a log file with all the warnings and errors.
@Andy could you please tell Kriesi that:- This is a tricky bug that could easily pass undetected by developers if they don’t thoroughly test their sites and it is not nice to see all those warning messages piling up
- To improve the knowledge base in order to achieve much better support in this forum so we don’t have to waste our time in such long threads on issues that have already been known for such a long time.
Thanks!
Best regards,
DiegoHi @alebrandcare,
Thanks for such a detailed response.
You are right, there are quite a few threads in this forum related to this issue, with plenty of users reporting that they are experiencing it:
Having gone through those threads, some facts have arisen about the members of Kriesi’s team that have participated on them:
- At least they know about the issue since September 2014 (more than a year ago), as it has been repeatedly reported by users since then.
- Either if the bug is on Enfold side or the WordPress Multilingual Plugin side, they (Kriesi’s team) have not fixed their code to solve the problem nor they have managed to get a fix from the WPML compatibility team.
- They have only provide the users with instructions to obscure (hide) the warning messages, e.i. they have not given any real solution.
Given those previously mentioned facts, I am wondering:
- How is it possible that none of the three members of Kriesi’s team on this thread have informed us straightaway that it was a known issue? Notice that all of them have participated on those other threads related to the same issue.
- How can be that @Andy has not been able to reproduce the issue?
It is a pity how Enfold, an excellent product, can be spoilt by a support service that is not up to the task.
Please, Kriesi’s team, if you are not willing to provide us with solutions for certain matters, the least you can do is be open and tell us so we do not waste our time waiting for a solution.
I hope that, despite my harsh words, a moderator will give a reasonable explanation to what has occurred on this thread.
Thanks!
Best regards,
Diego- This reply was modified 8 years, 10 months ago by p_castro.
Hi @alebrandcare,
I am afraid I have not solved it yet although it would be more precise to say that Kriesi’s team has not solved the bug, they have not even been able to reproduce the issue, apparently.
I followed Andy’s advice:
Try to delete all theme files via FTP completely and afterwards get a fresh copy from your themeforest account. Maybe there are some corrupted files. Make sure to deactivate ALL plugins but “WPML Multilingual CMS”.
…but the issue is still there.
I am on the latest versions of Enfold and WPML but I can confirm the issue has been there for the rest of the versions in between.
Andy never replied to my previous message (November, 24). On his last message he said he had done some testings but he never shared an url to let us check.
I would really appreciate from Kriesi’s team more timely responses and transparency when they claim they are performing testings and can not replicate the issue. I gave them credentials of my install with administrative privileges, I can see they never used them.
At least three users have reported this issue and none of us have confirmed that it has been solved.
I suppose you (@alebrandcare) and @mkellenberger have something to say about how this issue is being handled in the forum.
Best regards,
DiegoHey Andy,
I was wondering, on your instalation, are you testing on a category page? I mean like mydomain.com/category/a_particular_category.
Thanks!
Regards,
DiegoHey Andy!
I would like to add to my previous post that finally I updated to WPML 3.3 and the warnings persist. It has been 6 days since I opened this thread, 3 days ago another user reported the same problem but it seems Enfold’s team has not taken any action to solve it.
Could you please test it on your side and provide us with a solution?
Thanks.
Best regards,
DiegoHey Andy!
I posted my first message on November 13th, i.e., 6 days ago, while the new version of WPML was released yesterday, November 18th. Your colleague Basilis asked me for my credentials on the 14th and I gave them to him but never got a reply up till now.
There is at least one more user that has been experiencing the issue. I would appreciate if you could confirm if it has been caused by a bug (either Enfold’s or WPML’s). Also it would be great if you could check out if updating to WPML will solve the issue, perhaps performing some testing on your side.
Thanks!
Best regards,
November 16, 2015 at 6:43 pm in reply to: Gap when using "bottom menu" + "sticky header" for viewports 989px to 768px #536787Hey Elliott,
Thanks for letting me know!
Regards,
DiegoHi Basilis,
I enclose the login details and page in the following private message.
Thanks!
Best regards,
DiegoHey Elliot,
Of course, before posting my first message, I made sure:
- WPML, Enfold and WP were all updated
- I disable all plugins, except WPML
- I deactivated my child theme
I have found out that the problem just occurs when, in Enfold Settings > Blog Layout (tab) >Blog Layout (the dropdown menu), the Grid Layout is chosen. I don’t get the warnings if I chose any of the other blog layouts (Multi Author Blog, Single Author small previewPic, Single Author big previewPic, etc).
My conclusion is that there must be something in Enfold’s Grid Layout function that is colliding with WPML.
Please, let me know your thoughts about the matter.
Thanks!
Best Regards,
DiegoNovember 13, 2015 at 6:26 pm in reply to: Gap when using "bottom menu" + "sticky header" for viewports 989px to 768px #535640Hey Elliot,
That is what I had done. Is it going to be merged in a future update?
Thanks!
Best regards,
DiegoNovember 13, 2015 at 1:30 pm in reply to: Adding a widget area INSIDE THE INNER-CONTAINER OF THE HEADER, AFTER THE LOGO #535353Hi,
I’ve just found the solution in another thread, Adding a header widget to the logo container (sorry, yesterday I could not find it :)), so the solution consists in adding the following piece of code to functions.php:
add_action( 'ava_before_bottom_main_menu', 'enfold_customization_header_widget_area' ); function enfold_customization_header_widget_area() { dynamic_sidebar( 'header' ); }
I believe this solution should be added to the guide Enfold Theme Documentation | Adding a widget area to the header, given the fact that it is absolutely necessary for those users who are pursuing to keep the widget area aligned to the right of the container of the header – as opposed to the header itself – specially for viewports wider than 1310px. Obviously, custom CSS will be needed, for example:
#header_main .inner-container .widget { position: absolute; right: 0; padding: 0; }
Regards,
Diego- This reply was modified 9 years ago by p_castro.
June 22, 2015 at 4:55 pm in reply to: First list item in an unordered list displays disc on the right #462923Hey!
Thank you Ismael for putting the matter to rest. At last, in this thread, a member of Kriesi’s team gives a considered and thoughtful response.
I think I’ll use your solution instead of mine because it is more specific, so less likely to cause undesirable secondary effects in other elements of the theme.
Cheers!
DiegoJune 19, 2015 at 3:40 pm in reply to: First list item in an unordered list displays disc on the right #461991Hi Andy,
By saying:
it is working as expected:
and
The problem is that you are first calling a text block element and then calling a separator element. Obvious that things get messed up
are you implying that Enfold’s users should never use the shortcode generator present on the Visual Editor when using the ‘Advanced Layout Editor’ (‘Avia Layout Builder’)? Really :)?
In one word, are you saying that I am doing something wrong when I am simply using an element present in Enfold’s UI (shortcode generator)?
Sorry but If that shortcode does not work properly nested within the Text Block shortcode then, please, remove it from the shortcode generator, do not offer it misleading the user. BTW is this incompatibility explained in Enfold’s documentation?
Thank you.
Best Regards,
Diego- This reply was modified 9 years, 5 months ago by p_castro.
June 17, 2015 at 1:02 am in reply to: First list item in an unordered list displays disc on the right #460505Hey Andy,
First of all, I’d like to say I deeply respect the great work that Kriesi’s team is doing in terms of both, development and support. I also apologize if my previous private message felt a bit harsh.
Thanks for taking the time to explain your support policy, in fact I had already read it so I was not expecting your team to give me an answer on the weekend.
I bumped into my own thread because it had been almost 24 hours since I had reported the issue and I saw that other threads, posted much later than mine, had already been answered, so I thought that I had not properly explained the issue thus I tried to make some clarifications. Maybe, in order not to get behind in your queue I should have edited my first post, instead of adding a new one, is that correct?
I hope you understand that I, like other users, work with tight deadlines and, although I know Kriesi’s support team does not have any obligation to give an answer within any timeframe, I do expect being answered within 24 hours, specially when much newer threads have already been responded. I understand that there are threads easier/quicker to answer and of course I’m not trying to tell Kriesi’s team how to deal with the forum. I just want to let you know my personal situation, which I believe must have a lot in common with some other users.
I appreciate you tested the shortcode I provided but I have to disagree with your remark “you are missing the [av_textblock]”. It is true that the way you have employed the [av_hr] shortcode outside the [av_textblock] shortcode makes the issue go away but it should work fine also the way I did it, which is having the [av_hr] shortcode inside the [av_textblock] shortcode. Please, let me elaborate. I am using the ‘Advanced Layout Editor’ (‘Avia Layout Builder’) so when I insert a ‘Text Block’ and edit it using the ‘Visual Editor’, then I get the option of inserting a few Enfold shortcodes, including the ‘Separator/ Whitespace’ shortcode, see here, that means that the theme is explicitly giving the option of inserting the separator shortcode inside the ‘Text Block’ and that is what is causing the issue.
By the way, I have the impression that the shortcode you provided has a duplicated [av_textblock] opening tag, see here.
Here you have the complete shortcode that is causing the issue:
[av_textblock size='' font_color='' color='' custom_class=''] [av_hr class='default' height='50' shadow='no-shadow' position='center' custom_border='av-border-thin' custom_width='50px' custom_border_color='' custom_margin_top='30px' custom_margin_bottom='30px' icon_select='yes' custom_icon_color='' icon='ue808' font='entypo-fontello' custom_class=''] <ul> <li>Measures:</li> <li>Materials:</li> <li>Dyes:</li> <li>Condition:</li> </ul> [/av_textblock]
If now we are on the same page I would greatly appreciate if you could have a look at the two possible solutions I provided here and let me know if they could possibly cause any adverse effects in other elements of the theme, or perhaps you could propose a better fix.
Thank you.
Best Regards,
DiegoJune 13, 2015 at 12:00 pm in reply to: First list item in an unordered list displays disc on the right #458741This reply has been marked as private.June 11, 2015 at 6:22 pm in reply to: First list item in an unordered list displays disc on the right #457957This reply has been marked as private.June 11, 2015 at 6:16 pm in reply to: First list item in an unordered list displays disc on the right #457952Hi,
I needed this to be solved ASAP so I have been debugging it myself.
The origin of the problem
I have found out that the problem is caused by ENFOLD’s separator shortcode (default), when it is placed before de list, then the marker (bullet point) of the first list item gets misaligned (in webkit browsers like Chrome (OS X) and Safari).The reason why this is happening is because of ENFOLD’s class .hr and its property float: left;
Possible Solutions
I came out with two solutions. I haven’t had the time to thoroughly test them in order to detect some possible undesirable secondary effects, so I would like to ask Kriesi’s team to do it as I am worried about harming other elements of the theme like navigation menus or other types of separators.Solution 1
main ul, main ol { clear: left; }
Solution 2
.hr { float: none; }
In case you want to reproduce the issue here you have the code I used on my page:
[av_hr class='default' height='50' shadow='no-shadow' position='center' custom_border='av-border-thin' custom_width='50px' custom_border_color='' custom_margin_top='30px' custom_margin_bottom='30px' icon_select='yes' custom_icon_color='' icon='ue808' font='entypo-fontello'] <ul> <li>Measures:</li> <li>Materials:</li> <li>Dyes:</li> <li>Condition:</li> </ul>
Please, can someone confirm the best solution in order to minimize the possible adverse effects in other elements of the theme?
Thanks!
Best Regards
Diego- This reply was modified 9 years, 5 months ago by p_castro.
June 10, 2015 at 5:49 pm in reply to: First list item in an unordered list displays disc on the right #457426Hi!
I am afraid that piece of code does not solve the issue, as I want the second and subsequent lines of the list items to be indented, which by the way is the default styling of Enfold for lists, I mean, the key of all this is to keep the style
list-style-position: outside;
but working properly in the webkit browsers ;-)Thanks!
Best Regards,
DiegoJune 10, 2015 at 5:30 pm in reply to: First list item in an unordered list displays disc on the right #457401Hi!
Maintenance mode deactivated.
Cheers!
June 10, 2015 at 12:24 am in reply to: First list item in an unordered list displays disc on the right #456956This reply has been marked as private.June 10, 2015 at 12:13 am in reply to: First list item in an unordered list displays disc on the right #456952HI,
As I have not received any response yet I am not quite sure if I made clear what I need, perhaps my previous comment was a bit confusing.
The point is that I need to keep Enfold’s default styling
list-style: disc outside;
Employing
list-style: disc inside;
is not a solution for me, I mentioned it just in case it helps to understand what is going on.So please, does anybody have a solution to solve the issue?
Thanks.
Best Regards,
Diego
June 5, 2015 at 12:13 am in reply to: By default Enfold hides the footer menu for the smaller viewports…really!? #454821Thanks Josue!
June 2, 2015 at 5:18 pm in reply to: Portfolio 2 column changes into 1 column at 1266px width viewport in Chrome OS X #453224Hi!
OK, thanks anyway.
Cheers!
DiegoJune 2, 2015 at 1:24 pm in reply to: Portfolio 2 column changes into 1 column at 1266px width viewport in Chrome OS X #453116Hi!
I’ve found out why you haven’t been able to reproduce the issue, it’s been my fault, I was doing the testing with Chrome’s zoom set to 125%, sorry! So the issue only occurs under that circumstance.
IMO ideally this should not happen even using the browser’s zoom although I understand this is a super-minor issue.
I tried the code provided but has not worked.
Thanks!
Best Regards,
DiegoJune 2, 2015 at 12:02 am in reply to: Portfolio 2 column changes into 1 column at 1266px width viewport in Chrome OS X #452846Hi Yigit,
Chrome version 43.0.2357.81 (64-bit) running on OS X 10.10.3 (14D136)
Regards,
DiegoThis reply has been marked as private.This reply has been marked as private. -
AuthorPosts