Skip Navigation

[Resolved] Editing features on backend not appearing when Layouts 2.5.2

This support ticket is created 5 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 11 replies, has 2 voices.

Last updated by Luo Yang 5 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#1209710
Screen Shot 2019-03-04 at 2.56.58 PM.png
Screen Shot 2019-03-04 at 2.56.22 PM.png

With Layouts 2.5.2 enabled, I get no previously entered content in the page body. See First Screenshot below.
Also no Avada Options display, nor do content type associations. See Second Screenshot

These issues return to normal once the Layouts plugin is disabled.

#1209815
js-error.JPG

Hello,

Thanks for the details, I can login into your website, here are what I found

I assume we are talking about this URL:
hidden link
There is a JS error in above URL:
Uncaught ReferenceError: wptCallbacks is not defined

See screenshot JS-error.JPG

It is abnormal, please try these:
1) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2019, and test again

2) Also check if there is any other PHP errors in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/#php-debugging

#1210093

1) Works as expected with Layouts and other toolset plugins active.

2) Added the required code to wp-config.php, but I am not seeing an error_log.txt file in root directory

#1210337

As you see:
Works as expected with Layouts and other toolset plugins active.

So there is a compatibility problem in your website, please try to locate it, like this:
Deactivate all other plugins and switch to WordPress default theme 2019, check if it works.

If it works, then activate other plugins one by one, try to locate the problem plugin/theme.

#1210756

The default 2019 theme works as expected with all toolset plugins activated. It also works as expected with all plugins enabled. Where the issue come into play is when I'm using Avada and the layouts plugin is activated, I've isolated this using the standard troubleshooting technique of turning plugins on and off. Using Avada with layouts deactivated, issues go away.

Take a look at my support ticket history, I had a similar issue with the types plugin and Avada and a new version of types was pushed out to fix.

#1210948

So it is a compatibility problem between Avada and Layouts, please provide a copy of your website in below private message box.

Do you have any clue/details steps to duplicate the problem in a fresh wordpress installation?

#1211020
#1211049
avada-layout2.JPG
avada-layout.JPG

Thanks for the details, I can download the files and install it in my localhost.

But there isn't the same problem in my localhost, it works fine, and I did not deactivate any plugins/theme, see screenshot: avada-layout.JPG and avada-layout2.JPG
I can see the post body, Avada options and post relationships without any problem.

So it might be a server problem, have you checked the PHP debug logs as I mentioned above?
https://toolset.com/forums/topic/editing-features-on-backend-not-appearing-when-layouts-2-5-2/#post-1209815

Also check if there is any other PHP errors in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/#php-debugging

#1211581

Not seeing any PHP errors.

I do see this error in the browser console when Layouts is activated:

ReferenceError: wptCallbacks is not defined validation.js:392:5
      <anonymous> <em><u>hidden link</u></em>
    jQuery 4
        i
    
    fireWith
    
    ready
    
    K

This error is not present when Layouts is disabled, when the edit page works as expected.
*Just tried with toolset forms disabled, and layouts enabled and no error, page loads fine, so maybe the issue is toolset forms then or a combination of the two when active.

#1211623

I have tested it in my localhost without deactivating any plugins/theme, it works fine, so it should be a server problem.
https://toolset.com/forums/topic/editing-features-on-backend-not-appearing-when-layouts-2-5-2/#post-1211049

Please provide FTP access of your website website in below private message box, I can try to locate the problem for you. thanks

#1211670
#1211678

Thanks for the details, I have done below modification in your website, edit the file wp-config.php, add a line (line 87):

define( 'WP_MEMORY_LIMIT', '256M' );

This should be able to increase web-server memory allocated to PHP, please test again, check if it is fixed.

More help:
https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
Increasing memory allocated to PHP

#1211922
Screen Shot 2019-03-08 at 9.16.40 AM.png

Exactly the same behavior as before, no change.

In the Avada options tab > System Status, I see the following after your change to wp-config in the attached screenshot.

Host php.ini reports 256M also.

#1212381
OML100.JPG

It is strange in your website, I have add more one line into file wp-config.php, as below:

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

it works fine in my Chrome browser, see screenshot OML100.JPG, please test again, check if it is fixed.

More help:
https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
Administration tasks require much memory than usual operation. When in the administration area, the memory can be increased or decreased from the WP_MEMORY_LIMIT by defining WP_MAX_MEMORY_LIMIT.