Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • I cleared caches, but the popup text still shows as one single line in the front end while it appears as multiple lines in the editor.

    When I change the text on the editor to another multi-line text, the new text is shown in the front end, except that it appears as one sinlge line instead of multiple lines.

    But after looking at the source code of your plugin, I found a possible fix adding a call to nl2br PHP function in front/tree_class.php file. I changed the line 176 from this:

    
    $popup['html'] = '<div date-popup-theme = "' . $node['node_info']['popup_theme'] . '" class="wpda_tree_popup_content wpda_tree_element_hidden"><div class="wpda_popup_innerhtml">' . apply_filters('the_content', htmlspecialchars_decode($node['node_info']['popup_html'])) . '</div></div>';
    

    To this:

    
    $popup['html'] = '<div date-popup-theme = "' . $node['node_info']['popup_theme'] . '" class="wpda_tree_popup_content wpda_tree_element_hidden"><div class="wpda_popup_innerhtml">' . apply_filters('the_content', htmlspecialchars_decode(nl2br($node['node_info']['popup_html']))) . '</div></div>';
    

    And now the line breaks are correctly displayed on the popup.

    I have downloaded the latest version, but I think the bug is only partially fixed:

    When I reopen the popup tab on the chart element editor, the line breaks are still there after I saved the chart. That’s Ok.

    But when I’m on the site’s front end, I click on an element from the chart, and the popup’s content appears as one single line; the line breaks are not being displayed.

    I did not insert code, just some random text with line breaks, like:

    
    First Line
    
    Second line
    
    Third line
    

    If I insert the line breaks in the HTML view (either as <br> tags or as <p> paragraphs), they don’t dissapear when I view the chart/popup on the front-end.

    But when I reopen the popup tab in the chart editor, it displays on the “Visual” mode, the line breaks are there; but if I update the element information and save the chart, the line breaks are lost. Also, if I reopen it on the “HTML” mode, the <br> and <p> tags are no longer there.

    This problem happens whether if I change the editor to “Text” mode, or if I just edit it on “Visual” mode without changing it to “Text”.

    I’m using version 1.4.2

    I’m currently testing it in localhost. I haven’t uploaded the site yet.

    After some deep debugging and research, I found the cause of the problem and two possible solutions.

    The only development tools I’m using is Apache web server under Fedora 32 System (Linux), and WordPress.

    I have all my development sites symlinked under a ‘public_html’ folder in my home dir. The site’s folders are owned by my system user, but the ‘/wp-content/uploads’ are owned by the apache user or group, so WordPress can write files inside that path (uploaded media files works OK).

    After some research, I found that WP_Filesystem refuses to use the “direct” (native php) method for accessing filesystem when the owner of direct-created files is different from the owner of the wordpress php files, so it will try to use FTP even if I don’t have FTP set up.

    I think this is a bad design from WordPress itself, but i could resolve changing some line from the plugin’s code.

    Inside the save_css_file function in otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php, I changed this line:

    WP_Filesystem();

    to this:

    WP_Filesystem(false, false, true);

    Setting the $allow_relaxed_file_ownership parameter to true.

    Now it works OK.

    It also works OK if I add this code to wp-config.php:

    define('FS_METHOD', 'direct');

    This is a more complete stack trace of PHP warnings:

    [03-Jul-2020 19:25:04 UTC] PHP Warning:  ftp_pwd() expects parameter 1 to be resource, null given in /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 225
    [03-Jul-2020 19:25:04 UTC] PHP Stack trace:
    [03-Jul-2020 19:25:04 UTC] PHP   1. {main}() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:0
    [03-Jul-2020 19:25:04 UTC] PHP   2. require() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:17
    [03-Jul-2020 19:25:04 UTC] PHP   3. wp() /home/lalo/proyectos/adicciones-2020/wordpress/wp-blog-header.php:16
    [03-Jul-2020 19:25:04 UTC] PHP   4. WP->main() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/functions.php:1274
    [03-Jul-2020 19:25:04 UTC] PHP   5. do_action_ref_array() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp.php:752
    [03-Jul-2020 19:25:04 UTC] PHP   6. WP_Hook->do_action() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/plugin.php:544
    [03-Jul-2020 19:25:04 UTC] PHP   7. WP_Hook->apply_filters() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp-hook.php:311
    [03-Jul-2020 19:25:04 UTC] PHP   8. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->render_post_css() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp-hook.php:287
    [03-Jul-2020 19:25:04 UTC] PHP   9. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->enqueue_styles() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:184
    [03-Jul-2020 19:25:04 UTC] PHP  10. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::generate_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:242
    [03-Jul-2020 19:25:04 UTC] PHP  11. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::save_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:114
    [03-Jul-2020 19:25:04 UTC] PHP  12. WP_Filesystem_FTPext->is_dir() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:216
    [03-Jul-2020 19:25:04 UTC] PHP  13. WP_Filesystem_FTPext->cwd() /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:431
    [03-Jul-2020 19:25:04 UTC] PHP  14. ftp_pwd() /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:225
    [03-Jul-2020 19:25:04 UTC] PHP Warning:  ftp_pwd() expects parameter 1 to be resource, null given in /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 225
    [03-Jul-2020 19:25:04 UTC] PHP Stack trace:
    [03-Jul-2020 19:25:04 UTC] PHP   1. {main}() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:0
    [03-Jul-2020 19:25:04 UTC] PHP   2. require() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:17
    [03-Jul-2020 19:25:04 UTC] PHP   3. wp() /home/lalo/proyectos/adicciones-2020/wordpress/wp-blog-header.php:16
    [03-Jul-2020 19:25:04 UTC] PHP   4. WP->main() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/functions.php:1274
    [03-Jul-2020 19:25:04 UTC] PHP   5. do_action_ref_array() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp.php:752
    [03-Jul-2020 19:25:04 UTC] PHP   6. WP_Hook->do_action() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/plugin.php:544
    [03-Jul-2020 19:25:04 UTC] PHP   7. WP_Hook->apply_filters() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp-hook.php:311
    [03-Jul-2020 19:25:04 UTC] PHP   8. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->render_post_css() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp-hook.php:287
    [03-Jul-2020 19:25:04 UTC] PHP   9. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->enqueue_styles() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:184
    [03-Jul-2020 19:25:04 UTC] PHP  10. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::generate_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:242
    [03-Jul-2020 19:25:04 UTC] PHP  11. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::save_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:114
    [03-Jul-2020 19:25:04 UTC] PHP  12. WP_Filesystem_FTPext->is_dir() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:216
    [03-Jul-2020 19:25:04 UTC] PHP  13. WP_Filesystem_FTPext->cwd() /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:433
    [03-Jul-2020 19:25:04 UTC] PHP  14. ftp_pwd() /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:225
    [03-Jul-2020 19:25:04 UTC] PHP Warning:  Use of undefined constant FS_CHMOD_FILE - assumed 'FS_CHMOD_FILE' (this will throw an Error in a future version of PHP) in /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php on line 226
    [03-Jul-2020 19:25:04 UTC] PHP Stack trace:
    [03-Jul-2020 19:25:04 UTC] PHP   1. {main}() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:0
    [03-Jul-2020 19:25:04 UTC] PHP   2. require() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:17
    [03-Jul-2020 19:25:04 UTC] PHP   3. wp() /home/lalo/proyectos/adicciones-2020/wordpress/wp-blog-header.php:16
    [03-Jul-2020 19:25:04 UTC] PHP   4. WP->main() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/functions.php:1274
    [03-Jul-2020 19:25:04 UTC] PHP   5. do_action_ref_array() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp.php:752
    [03-Jul-2020 19:25:04 UTC] PHP   6. WP_Hook->do_action() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/plugin.php:544
    [03-Jul-2020 19:25:04 UTC] PHP   7. WP_Hook->apply_filters() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp-hook.php:311
    [03-Jul-2020 19:25:04 UTC] PHP   8. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->render_post_css() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp-hook.php:287
    [03-Jul-2020 19:25:04 UTC] PHP   9. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->enqueue_styles() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:184
    [03-Jul-2020 19:25:04 UTC] PHP  10. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::generate_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:242
    [03-Jul-2020 19:25:04 UTC] PHP  11. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::save_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:114
    [03-Jul-2020 19:25:04 UTC] PHP Warning:  ftp_fput() expects parameter 1 to be resource, null given in /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 207
    [03-Jul-2020 19:25:04 UTC] PHP Stack trace:
    [03-Jul-2020 19:25:04 UTC] PHP   1. {main}() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:0
    [03-Jul-2020 19:25:04 UTC] PHP   2. require() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:17
    [03-Jul-2020 19:25:04 UTC] PHP   3. wp() /home/lalo/proyectos/adicciones-2020/wordpress/wp-blog-header.php:16
    [03-Jul-2020 19:25:04 UTC] PHP   4. WP->main() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/functions.php:1274
    [03-Jul-2020 19:25:04 UTC] PHP   5. do_action_ref_array() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp.php:752
    [03-Jul-2020 19:25:04 UTC] PHP   6. WP_Hook->do_action() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/plugin.php:544
    [03-Jul-2020 19:25:04 UTC] PHP   7. WP_Hook->apply_filters() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp-hook.php:311
    [03-Jul-2020 19:25:04 UTC] PHP   8. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->render_post_css() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp-hook.php:287
    [03-Jul-2020 19:25:04 UTC] PHP   9. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->enqueue_styles() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:184
    [03-Jul-2020 19:25:04 UTC] PHP  10. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::generate_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:242
    [03-Jul-2020 19:25:04 UTC] PHP  11. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::save_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:114
    [03-Jul-2020 19:25:04 UTC] PHP  12. WP_Filesystem_FTPext->put_contents() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:226
    [03-Jul-2020 19:25:04 UTC] PHP  13. ftp_fput() /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:207
    [03-Jul-2020 19:25:04 UTC] PHP Warning:  ftp_chmod() expects parameter 1 to be resource, null given in /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 279
    [03-Jul-2020 19:25:04 UTC] PHP Stack trace:
    [03-Jul-2020 19:25:04 UTC] PHP   1. {main}() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:0
    [03-Jul-2020 19:25:04 UTC] PHP   2. require() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:17
    [03-Jul-2020 19:25:04 UTC] PHP   3. wp() /home/lalo/proyectos/adicciones-2020/wordpress/wp-blog-header.php:16
    [03-Jul-2020 19:25:04 UTC] PHP   4. WP->main() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/functions.php:1274
    [03-Jul-2020 19:25:04 UTC] PHP   5. do_action_ref_array() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp.php:752
    [03-Jul-2020 19:25:04 UTC] PHP   6. WP_Hook->do_action() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/plugin.php:544
    [03-Jul-2020 19:25:04 UTC] PHP   7. WP_Hook->apply_filters() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp-hook.php:311
    [03-Jul-2020 19:25:04 UTC] PHP   8. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->render_post_css() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp-hook.php:287
    [03-Jul-2020 19:25:04 UTC] PHP   9. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->enqueue_styles() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:184
    [03-Jul-2020 19:25:04 UTC] PHP  10. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::generate_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:242
    [03-Jul-2020 19:25:04 UTC] PHP  11. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::save_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:114
    [03-Jul-2020 19:25:04 UTC] PHP  12. WP_Filesystem_FTPext->put_contents() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:226
    [03-Jul-2020 19:25:04 UTC] PHP  13. WP_Filesystem_FTPext->chmod() /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:212
    [03-Jul-2020 19:25:04 UTC] PHP  14. ftp_chmod() /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:279
    [03-Jul-2020 19:25:04 UTC] PHP Warning:  ftp_pwd() expects parameter 1 to be resource, null given in /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 225
    [03-Jul-2020 19:25:04 UTC] PHP Stack trace:
    [03-Jul-2020 19:25:04 UTC] PHP   1. {main}() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:0
    [03-Jul-2020 19:25:04 UTC] PHP   2. require() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:17
    [03-Jul-2020 19:25:04 UTC] PHP   3. require_once() /home/lalo/proyectos/adicciones-2020/wordpress/wp-blog-header.php:19
    [03-Jul-2020 19:25:04 UTC] PHP   4. include() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/template-loader.php:106
    [03-Jul-2020 19:25:04 UTC] PHP   5. get_template_part() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/themes/neve/page-templates/template-pagebuilder-full-width.php:16
    [03-Jul-2020 19:25:04 UTC] PHP   6. locate_template() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/general-template.php:168
    [03-Jul-2020 19:25:04 UTC] PHP   7. load_template() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/template.php:672
    [03-Jul-2020 19:25:04 UTC] PHP   8. require() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/template.php:725
    [03-Jul-2020 19:25:04 UTC] PHP   9. the_content() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/themes/neve/template-parts/content-pagebuilder.php:9
    [03-Jul-2020 19:25:04 UTC] PHP  10. apply_filters() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/post-template.php:253
    [03-Jul-2020 19:25:04 UTC] PHP  11. WP_Hook->apply_filters() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/plugin.php:206
    [03-Jul-2020 19:25:04 UTC] PHP  12. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->ThemeIsle\GutenbergBlocks\CSS\{closure:/home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:189-200}() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp-hook.php:287
    [03-Jul-2020 19:25:04 UTC] PHP  13. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->enqueue_styles() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:196
    [03-Jul-2020 19:25:04 UTC] PHP  14. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::generate_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:242
    [03-Jul-2020 19:25:04 UTC] PHP  15. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::save_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:114
    [03-Jul-2020 19:25:04 UTC] PHP  16. WP_Filesystem_FTPext->is_dir() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:216
    [03-Jul-2020 19:25:04 UTC] PHP  17. WP_Filesystem_FTPext->cwd() /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:431
    [03-Jul-2020 19:25:04 UTC] PHP  18. ftp_pwd() /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:225
    [03-Jul-2020 19:25:04 UTC] PHP Warning:  ftp_pwd() expects parameter 1 to be resource, null given in /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 225
    [03-Jul-2020 19:25:04 UTC] PHP Stack trace:
    [03-Jul-2020 19:25:04 UTC] PHP   1. {main}() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:0
    [03-Jul-2020 19:25:04 UTC] PHP   2. require() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:17
    [03-Jul-2020 19:25:04 UTC] PHP   3. require_once() /home/lalo/proyectos/adicciones-2020/wordpress/wp-blog-header.php:19
    [03-Jul-2020 19:25:04 UTC] PHP   4. include() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/template-loader.php:106
    [03-Jul-2020 19:25:04 UTC] PHP   5. get_template_part() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/themes/neve/page-templates/template-pagebuilder-full-width.php:16
    [03-Jul-2020 19:25:04 UTC] PHP   6. locate_template() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/general-template.php:168
    [03-Jul-2020 19:25:04 UTC] PHP   7. load_template() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/template.php:672
    [03-Jul-2020 19:25:04 UTC] PHP   8. require() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/template.php:725
    [03-Jul-2020 19:25:04 UTC] PHP   9. the_content() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/themes/neve/template-parts/content-pagebuilder.php:9
    [03-Jul-2020 19:25:04 UTC] PHP  10. apply_filters() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/post-template.php:253
    [03-Jul-2020 19:25:04 UTC] PHP  11. WP_Hook->apply_filters() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/plugin.php:206
    [03-Jul-2020 19:25:04 UTC] PHP  12. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->ThemeIsle\GutenbergBlocks\CSS\{closure:/home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:189-200}() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp-hook.php:287
    [03-Jul-2020 19:25:04 UTC] PHP  13. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->enqueue_styles() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:196
    [03-Jul-2020 19:25:04 UTC] PHP  14. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::generate_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:242
    [03-Jul-2020 19:25:04 UTC] PHP  15. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::save_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:114
    [03-Jul-2020 19:25:04 UTC] PHP  16. WP_Filesystem_FTPext->is_dir() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:216
    [03-Jul-2020 19:25:04 UTC] PHP  17. WP_Filesystem_FTPext->cwd() /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:433
    [03-Jul-2020 19:25:04 UTC] PHP  18. ftp_pwd() /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:225
    [03-Jul-2020 19:25:04 UTC] PHP Warning:  Use of undefined constant FS_CHMOD_FILE - assumed 'FS_CHMOD_FILE' (this will throw an Error in a future version of PHP) in /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php on line 226
    [03-Jul-2020 19:25:04 UTC] PHP Stack trace:
    [03-Jul-2020 19:25:04 UTC] PHP   1. {main}() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:0
    [03-Jul-2020 19:25:04 UTC] PHP   2. require() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:17
    [03-Jul-2020 19:25:04 UTC] PHP   3. require_once() /home/lalo/proyectos/adicciones-2020/wordpress/wp-blog-header.php:19
    [03-Jul-2020 19:25:04 UTC] PHP   4. include() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/template-loader.php:106
    [03-Jul-2020 19:25:04 UTC] PHP   5. get_template_part() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/themes/neve/page-templates/template-pagebuilder-full-width.php:16
    [03-Jul-2020 19:25:04 UTC] PHP   6. locate_template() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/general-template.php:168
    [03-Jul-2020 19:25:04 UTC] PHP   7. load_template() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/template.php:672
    [03-Jul-2020 19:25:04 UTC] PHP   8. require() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/template.php:725
    [03-Jul-2020 19:25:04 UTC] PHP   9. the_content() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/themes/neve/template-parts/content-pagebuilder.php:9
    [03-Jul-2020 19:25:04 UTC] PHP  10. apply_filters() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/post-template.php:253
    [03-Jul-2020 19:25:04 UTC] PHP  11. WP_Hook->apply_filters() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/plugin.php:206
    [03-Jul-2020 19:25:04 UTC] PHP  12. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->ThemeIsle\GutenbergBlocks\CSS\{closure:/home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:189-200}() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp-hook.php:287
    [03-Jul-2020 19:25:04 UTC] PHP  13. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->enqueue_styles() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:196
    [03-Jul-2020 19:25:04 UTC] PHP  14. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::generate_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:242
    [03-Jul-2020 19:25:04 UTC] PHP  15. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::save_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:114
    [03-Jul-2020 19:25:04 UTC] PHP Warning:  ftp_fput() expects parameter 1 to be resource, null given in /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 207
    [03-Jul-2020 19:25:04 UTC] PHP Stack trace:
    [03-Jul-2020 19:25:04 UTC] PHP   1. {main}() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:0
    [03-Jul-2020 19:25:04 UTC] PHP   2. require() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:17
    [03-Jul-2020 19:25:04 UTC] PHP   3. require_once() /home/lalo/proyectos/adicciones-2020/wordpress/wp-blog-header.php:19
    [03-Jul-2020 19:25:04 UTC] PHP   4. include() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/template-loader.php:106
    [03-Jul-2020 19:25:04 UTC] PHP   5. get_template_part() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/themes/neve/page-templates/template-pagebuilder-full-width.php:16
    [03-Jul-2020 19:25:04 UTC] PHP   6. locate_template() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/general-template.php:168
    [03-Jul-2020 19:25:04 UTC] PHP   7. load_template() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/template.php:672
    [03-Jul-2020 19:25:04 UTC] PHP   8. require() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/template.php:725
    [03-Jul-2020 19:25:04 UTC] PHP   9. the_content() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/themes/neve/template-parts/content-pagebuilder.php:9
    [03-Jul-2020 19:25:04 UTC] PHP  10. apply_filters() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/post-template.php:253
    [03-Jul-2020 19:25:04 UTC] PHP  11. WP_Hook->apply_filters() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/plugin.php:206
    [03-Jul-2020 19:25:04 UTC] PHP  12. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->ThemeIsle\GutenbergBlocks\CSS\{closure:/home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:189-200}() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp-hook.php:287
    [03-Jul-2020 19:25:04 UTC] PHP  13. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->enqueue_styles() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:196
    [03-Jul-2020 19:25:04 UTC] PHP  14. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::generate_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:242
    [03-Jul-2020 19:25:04 UTC] PHP  15. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::save_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:114
    [03-Jul-2020 19:25:04 UTC] PHP  16. WP_Filesystem_FTPext->put_contents() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:226
    [03-Jul-2020 19:25:04 UTC] PHP  17. ftp_fput() /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:207
    [03-Jul-2020 19:25:04 UTC] PHP Warning:  ftp_chmod() expects parameter 1 to be resource, null given in /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 279
    [03-Jul-2020 19:25:04 UTC] PHP Stack trace:
    [03-Jul-2020 19:25:04 UTC] PHP   1. {main}() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:0
    [03-Jul-2020 19:25:04 UTC] PHP   2. require() /home/lalo/proyectos/adicciones-2020/wordpress/index.php:17
    [03-Jul-2020 19:25:04 UTC] PHP   3. require_once() /home/lalo/proyectos/adicciones-2020/wordpress/wp-blog-header.php:19
    [03-Jul-2020 19:25:04 UTC] PHP   4. include() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/template-loader.php:106
    [03-Jul-2020 19:25:04 UTC] PHP   5. get_template_part() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/themes/neve/page-templates/template-pagebuilder-full-width.php:16
    [03-Jul-2020 19:25:04 UTC] PHP   6. locate_template() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/general-template.php:168
    [03-Jul-2020 19:25:04 UTC] PHP   7. load_template() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/template.php:672
    [03-Jul-2020 19:25:04 UTC] PHP   8. require() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/template.php:725
    [03-Jul-2020 19:25:04 UTC] PHP   9. the_content() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/themes/neve/template-parts/content-pagebuilder.php:9
    [03-Jul-2020 19:25:04 UTC] PHP  10. apply_filters() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/post-template.php:253
    [03-Jul-2020 19:25:04 UTC] PHP  11. WP_Hook->apply_filters() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/plugin.php:206
    [03-Jul-2020 19:25:04 UTC] PHP  12. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->ThemeIsle\GutenbergBlocks\CSS\{closure:/home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:189-200}() /home/lalo/proyectos/adicciones-2020/wordpress/wp-includes/class-wp-hook.php:287
    [03-Jul-2020 19:25:04 UTC] PHP  13. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->enqueue_styles() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:196
    [03-Jul-2020 19:25:04 UTC] PHP  14. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::generate_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:242
    [03-Jul-2020 19:25:04 UTC] PHP  15. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::save_css_file() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:114
    [03-Jul-2020 19:25:04 UTC] PHP  16. WP_Filesystem_FTPext->put_contents() /home/lalo/proyectos/adicciones-2020/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:226
    [03-Jul-2020 19:25:04 UTC] PHP  17. WP_Filesystem_FTPext->chmod() /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:212
    [03-Jul-2020 19:25:04 UTC] PHP  18. ftp_chmod() /home/lalo/proyectos/adicciones-2020/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:279
    

    It looks OK when I click in the “preview” button of the editor. It’s just when I see the real saved page that the block styles doesn’t work.

    PHP Version 7.4.6

    Also, I have seen this Warning on PHP error log:

    `[02-Jul-2020 22:29:57 UTC] PHP Warning: Use of undefined constant FS_CHMOD_FILE – assumed ‘FS_CHMOD_FILE’ (this will throw an Error in a future version of PHP) in /home/lalo/proyectos/adicciones – campa?a/wordpress/wp-content/plugins/ot
    ter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php on line 229

    Yes. I can upload media files to my WordPress local instance.

    It works OK on your test instance, I couldn’t reproduce the issue there.

    This is the stack trace I get from PHP error log on my development machine:

    [02-Jul-2020 19:17:21 UTC] PHP Warning:  ftp_chmod() expects parameter 1 to be resource, null given in /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 279
    [02-Jul-2020 19:17:21 UTC] PHP Stack trace:
    [02-Jul-2020 19:17:21 UTC] PHP   1. {main}() /home/lalo/proyectos/adicciones - campa?a/wordpress/index.php:0
    [02-Jul-2020 19:17:21 UTC] PHP   2. require() /home/lalo/proyectos/adicciones - campa?a/wordpress/index.php:17
    [02-Jul-2020 19:17:21 UTC] PHP   3. require_once() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-blog-header.php:19
    [02-Jul-2020 19:17:21 UTC] PHP   4. include() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-includes/template-loader.php:106
    [02-Jul-2020 19:17:21 UTC] PHP   5. get_template_part() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-content/themes/neve/page-templates/template-pagebuilder-full-width.php:16
    [02-Jul-2020 19:17:21 UTC] PHP   6. locate_template() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-includes/general-template.php:168
    [02-Jul-2020 19:17:21 UTC] PHP   7. load_template() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-includes/template.php:672
    [02-Jul-2020 19:17:21 UTC] PHP   8. require() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-includes/template.php:725
    [02-Jul-2020 19:17:21 UTC] PHP   9. the_content() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-content/themes/neve/template-parts/content-pagebuilder.php:9
    [02-Jul-2020 19:17:21 UTC] PHP  10. apply_filters() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-includes/post-template.php:253
    [02-Jul-2020 19:17:21 UTC] PHP  11. WP_Hook->apply_filters() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-includes/plugin.php:206
    [02-Jul-2020 19:17:21 UTC] PHP  12. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->ThemeIsle\GutenbergBlocks\CSS\{closure:/home/lalo/proyectos/adicciones - campa?a/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:189-200}() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-includes/class-wp-hook.php:287
    [02-Jul-2020 19:17:21 UTC] PHP  13. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->enqueue_styles() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:196
    [02-Jul-2020 19:17:21 UTC] PHP  14. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::generate_css_file() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:242
    [02-Jul-2020 19:17:21 UTC] PHP  15. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::save_css_file() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:114
    [02-Jul-2020 19:17:21 UTC] PHP  16. WP_Filesystem_FTPext->put_contents() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:226
    [02-Jul-2020 19:17:21 UTC] PHP  17. WP_Filesystem_FTPext->chmod() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:212
    [02-Jul-2020 19:17:21 UTC] PHP  18. ftp_chmod() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:279

    It looks like a problem when trying to save the post’s CSS on save_css_file function

    It works OK on your test instance, I couldn’t reproduce the issue there.

    This is the stack trace I get from PHP error log on my development machine:

    [02-Jul-2020 19:17:21 UTC] PHP Warning:  ftp_chmod() expects parameter 1 to be resource, null given in /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 279
    [02-Jul-2020 19:17:21 UTC] PHP Stack trace:
    [02-Jul-2020 19:17:21 UTC] PHP   1. {main}() /home/lalo/proyectos/adicciones - campa?a/wordpress/index.php:0
    [02-Jul-2020 19:17:21 UTC] PHP   2. require() /home/lalo/proyectos/adicciones - campa?a/wordpress/index.php:17
    [02-Jul-2020 19:17:21 UTC] PHP   3. require_once() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-blog-header.php:19
    [02-Jul-2020 19:17:21 UTC] PHP   4. include() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-includes/template-loader.php:106
    [02-Jul-2020 19:17:21 UTC] PHP   5. get_template_part() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-content/themes/neve/page-templates/template-pagebuilder-full-width.php:16
    [02-Jul-2020 19:17:21 UTC] PHP   6. locate_template() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-includes/general-template.php:168
    [02-Jul-2020 19:17:21 UTC] PHP   7. load_template() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-includes/template.php:672
    [02-Jul-2020 19:17:21 UTC] PHP   8. require() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-includes/template.php:725
    [02-Jul-2020 19:17:21 UTC] PHP   9. the_content() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-content/themes/neve/template-parts/content-pagebuilder.php:9
    [02-Jul-2020 19:17:21 UTC] PHP  10. apply_filters() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-includes/post-template.php:253
    [02-Jul-2020 19:17:21 UTC] PHP  11. WP_Hook->apply_filters() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-includes/plugin.php:206
    [02-Jul-2020 19:17:21 UTC] PHP  12. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->ThemeIsle\GutenbergBlocks\CSS\{closure:/home/lalo/proyectos/adicciones - campa?a/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:189-200}() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-includes/class-wp-hook.php:287
    [02-Jul-2020 19:17:21 UTC] PHP  13. ThemeIsle\GutenbergBlocks\CSS\Block_Frontend->enqueue_styles() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:196
    [02-Jul-2020 19:17:21 UTC] PHP  14. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::generate_css_file() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php:242
    [02-Jul-2020 19:17:21 UTC] PHP  15. ThemeIsle\GutenbergBlocks\CSS\CSS_Handler::save_css_file() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:114
    [02-Jul-2020 19:17:21 UTC] PHP  16. WP_Filesystem_FTPext->put_contents() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-blocks/inc/css/class-css-handler.php:226
    [02-Jul-2020 19:17:21 UTC] PHP  17. WP_Filesystem_FTPext->chmod() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:212
    [02-Jul-2020 19:17:21 UTC] PHP  18. ftp_chmod() /home/lalo/proyectos/adicciones - campa?a/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:279

    I looks like a problem when trying to save the post’s CSS on save_css_file function

    Thanks!

    I changed the URL permalink settings, and now the test works ok. Now I can see the test results.

    No. I just have installed WordPress 5.3.2 and this plugin. I’m using the default theme Twenty Twenty and I haven’t installed any ohter themes nor plugins.

    ——

    I don’t know if this is related, but the WordPress installation is not on the root of the site, but on a directory inside another directory:

    https://localhost/~user/site/

    When I answer the test, which is in a URL like:

    https://localhost/~user/site/index.php/test/eysencks-personality-inventory-epi-extroversionintroversion/#more-5

    It takes me to an URL like this:

    https://localhost/~user/site/index.php/test/eysencks-personality-inventory-epi-extroversionintroversion/9899bba3c27d3be607039b060c41ee8b2/

    In which I see the “Page not found” error message, and no test results.

Viewing 15 replies - 1 through 15 (of 16 total)