Forum Replies Created
-
AuthorPosts
-
Got this when updating live site:
An error of type E_COMPILE_ERROR was caused in line 39 of the file /home/website/public_html/wp-content/themes/enfold/framework/avia_framework.php. Error message: require(): Failed opening required ‘php/inc-autoconfig.php’ (include_path=’.:/usr/local/php73/pear’).
Why is it every time I update your theme, it throws errors? Are these benign, or of concern?
I can also mention that I updated our store sites through the admin link within WP, but for our main staging and live sites, I always have to manually update via FTP…
All i can give you is where it threw an error for me. Not sure what else you expect from my side. Is it something of concern, will it come back? I haven’t received another alert today…
WordPress version 5.4.1
Current theme: Enfold (version 4.7.5)
Current plugin: (version )
PHP version 7.3.16I also use this plugin, but form input fields do not align, nor do they all look the same. It is a CSS issue between the plugin and Enfold. Just not sure which CSS to adjust….
It appears resolved but I had to enable the blog, which we don’t have on this site. PHP is 7.3.16.
A blog page needs to be enabled for it to show??
Apparently this won’t be answered?
Yes that is how I see it too. But I have it on fixed. Parallax and scroll do not work….
That section is not parallax, it is fixed. If I change it to scroll or parallax, it simply scrolls with the page like a “stationary” picture. Something seems off in the Enfold code that it is no longer working. I’m not sure what else I can do to explain this. Can you duplicate somehow on your end? Thanks…
I did in my initial message…
You are seeing fixed I believe. The others don’t work.
I have also tried to set background image to parallax or scroll on the bottom newsletter signup, just as the Enfold Shop example. Neither work. Only fixed. Please advise…
I have added your filter exactly as you sent it (my_stamp) to a staging site to test, using Snippets (I believe it’s nearly identical to My Custom Functions when used to insert custom PHP to functions.php). Is that correct?
Great. Doesn’t answer my question. Why can’t I just put it into a snippet and be done? A child theme at this point means reconfiguring all my theme customization settings. On a live site no less.
So for many who don’t have child themes and can’t do that, then what? Seems to me fixing this at it’s core would be priority #1, not making your users jump through hoops to accommodate code discrepancies that aren’t being addressed. Not to mention needing to totally reconfigure the child theme to match what we already have customized in the main theme…
I prefer to use a snippet if possible, since functions.php will be overwritten on every update. Is that feasible? Can i just do that, add the space to quick css, save, and be good to go?
Also got this when updating the live site. Enfold seems to have more issues lately…
An error of type E_COMPILE_ERROR was caused in line 51 of the file /home/website/public_html/wp-content/themes/enfold/functions.php. Error message: require_once(): Failed opening required ‘config-layerslider/config.php’ (include_path=’.:/usr/local/php71/pear’)
For the update error, no I did not overwrite. I never do. I rename the existing Enfold folder to Enfold_old, then copy the new Enfold folder over, test, and delete Enfold_old.
Circling back to the filter, do I just copy and paste your PHP into a snippet (don’t have a child theme)? Any changes necessary? Also, not sure what you mean when you say “If css & js file merging and compression was already enabled, then go to the Quick CSS and add a blank space to make the “save all changes” clickable and change the css in the theme to force a new file to be created when the front page is reloaded.” I get the blank space to force the save button to activate, but the part about changing the css in the theme to force a new file to be created is a bit confusing. What css am I changing to force the file to be created? Or do you just mean adding that blank space? Thanks, hopefully a more elegant, hands-off solution will be written into the next release…
I believe from that version to current (4.7.3 as of today), you’ll have to FTP in and do it manually…
And upon updating the test site, I now get a new error: An error of type E_COMPILE_ERROR was caused in line 177 of the file /home/website/staging/wp-content/themes/enfold/framework/php/inc-autoconfig.php. Error message: require(): Failed opening required ‘/home/website/staging/wp-content/themes/enfold/framework/php/avia_shortcodes/shortcodes.php’ (include_path=’.:/usr/local/php71/pear’).
Cmon people…
I updated to 4.7.3. Do i still need this PHP code, or does the update take care of it?
This is what is in one file. Is there something wrong in here??
Your answer is to disable part of your theme’s functionality and use someone else’s?? That does not instill much confidence in your theme. Seems like some error in how Enfold is merging those scripts with the most recent version. I wonder what happens if Enfold is rolled back.
I think this did it, added as a Snippet to avoid it being deleted on theme updates:
add_filter(‘avf_blog_style’,’avia_change_category_blog_layout’, 10, 2);
function avia_change_category_blog_layout($layout, $context){
if($context == ‘archive’) $layout = ‘blog-grid’;
return $layout;
}Thank you!
However, I still cannot create custom category pages as suggested and get the category links to point to those, correct??
- This reply was modified 5 years ago by Illingco.
It also creates a lot more work, especially when adding a category, as I’d then have to manually edit all those pages each time. Essentially, I just want the magazine element portion that shows category links…
But then if someone is in a single blog post and clicks a category, won’t it go to the unformatted category page anyway?
OK, I have done this and see what you are getting at. See link. But, now when I click on a category, it just gives me posts in that category without the grid format I chose on the main page. I’d like to maintain that grid layout throughout. How do I do this? Thanks…
US is allowed and some EU. Please advise if someone in those areas cannot get in. Thank you.
It would be better if you could narrow down where your support may come from, as we have been getting minor attacks from most of those countries and I don’t really want to disable firewalls. Please advise, thanks…
Hello…
-
AuthorPosts