0

I successfully installed the Martfury Marketplace Magento Theme along with the Magefan Blog Module. My intention was to edit the homepage after activating the theme. However, upon pressing the edit button, I encountered an error code. enter image description here

Wysiwyg.php on line 114, enter image description here

Please anyone can help me to fix this issue ?

1 Answer 1

0

You can handle the Undefined array key of content_css on line no 114 using the below code.

$mainCss = $result->getData('tinymce')['content_css'];

Change above line code to below line of code.

$mainCss = isset($result->getData('tinymce')['content_css']) ? $result->getData('tinymce')['content_css']: '';
3
  • I have updated my answer. Please check now. Commented Feb 9, 2023 at 7:39
  • Thank you sir it works ! Commented Feb 10, 2023 at 2:53
  • Hi, I happy to hear that. Please accept my answer by providing upvote. So, It will help other community user. Commented Feb 10, 2023 at 3:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.