[Skip to main content](#vessel-content)

#   "call to a member funktion addstylesheet() on null" after paypal-payment

##

- **[martin.petras](/forum/user/63209-martin-petras "View martin.petras's Profile")**
- [![martin.petras's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/63209-martin-petras "View martin.petras's Profile") Topic Author
- [ Offline](/forum/user/63209-martin-petras)
- Martin

Less More

- Posts: 9
- Thank you received: 1
-
-
-

3 years 2 months ago [\#355066](#355066) by [martin.petras](/forum/user/63209-martin-petras "View martin.petras's Profile")  *["call to a member funktion addstylesheet() on null" after paypal-payment](/forum/29-payment-methods/906990-call-to-a-member-funktion-addstylesheet-on-null-after-paypal-payment#355066 "-- HikaShop version -- : 4.7.5 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.1 -- Browser(s) name and version -- : Edge -- Error-message(debug-mod must be tuned on) -- : call to a member funktion addstylesheet() on null  Hello  I configured the new plugin PayPal (in sandbox mode for now).  For payment by card, no problem. But for settlement by PayPal account, I have a blank popup opening (saying &quot;about:blank#blocked&quot;). If I close this popup, then I have the expected window to PayPal.  Do you have any idea where this blank pop-up of content comes from?  Thanks in advance for your help.  Martin")* was created by *[martin.petras](/forum/user/63209-martin-petras "View martin.petras's Profile")*

-- HikaShop version -- : 4.7.5
-- Joomla version -- : 4.3.4
-- PHP version -- : 8.1
-- Browser(s) name and version -- : Edge
-- Error-message(debug-mod must be tuned on) -- : call to a member funktion addstylesheet() on null

Hello

I configured the new plugin PayPal (in sandbox mode for now).

For payment by card, no problem.
But for settlement by PayPal account, I have a blank popup opening (saying "about:blank#blocked"). If I close this popup, then I have the expected window to PayPal.

Do you have any idea where this blank pop-up of content comes from?

Thanks in advance for your help.

Martin

- [ ![PHOTO-2023-09-12-13-49-35.jpg](/forum/attachment/57821) ](/forum/attachment/57821 "...2-13-49-35.jpg") [ ](/forum/attachment/57821?download=1 "...2-13-49-35.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDY5OTAtY2FsbC10by1hLW1lbWJlci1mdW5rdGlvbi1hZGRzdHlsZXNoZWV0LW9uLW51bGwtYWZ0ZXItcGF5cGFsLXBheW1lbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

3 years 2 months ago [\#355071](#355071) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["call to a member funktion addstylesheet() on null" after paypal-payment](/forum/29-payment-methods/906990-call-to-a-member-funktion-addstylesheet-on-null-after-paypal-payment#355071 "-- HikaShop version -- : 4.7.5 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.1 -- Browser(s) name and version -- : Edge -- Error-message(debug-mod must be tuned on) -- : call to a member funktion addstylesheet() on null  Hello  I configured the new plugin PayPal (in sandbox mode for now).  For payment by card, no problem. But for settlement by PayPal account, I have a blank popup opening (saying &quot;about:blank#blocked&quot;). If I close this popup, then I have the expected window to PayPal.  Do you have any idea where this blank pop-up of content comes from?  Thanks in advance for your help.  Martin")*

Hi,

You already found another thread talking about the blank popup. Changing the "Cross-Origin-Opener-Policy" setting of the HTTP Headers system plugin should fix the problem.

Regarding the error "call to a member funktion addstylesheet() on null", we'll need the full error message to be able to tell you what to do. Please activate the "debug" setting of the joomla configuration page and try again. You'll see the full error message. Please provide a new screenshot of what you see on the page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDY5OTAtY2FsbC10by1hLW1lbWJlci1mdW5rdGlvbi1hZGRzdHlsZXNoZWV0LW9uLW51bGwtYWZ0ZXItcGF5cGFsLXBheW1lbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[martin.petras](/forum/user/63209-martin-petras "View martin.petras's Profile")**
- [![martin.petras's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/63209-martin-petras "View martin.petras's Profile") Topic Author
- [ Offline](/forum/user/63209-martin-petras)
- Martin

Less More

- Posts: 9
- Thank you received: 1
-
-
-

3 years 2 months ago [\#355092](#355092) by [martin.petras](/forum/user/63209-martin-petras "View martin.petras's Profile")  Replied by *[martin.petras](/forum/user/63209-martin-petras "View martin.petras's Profile")* on topic *["call to a member funktion addstylesheet() on null" after paypal-payment](/forum/29-payment-methods/906990-call-to-a-member-funktion-addstylesheet-on-null-after-paypal-payment#355092 "-- HikaShop version -- : 4.7.5 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.1 -- Browser(s) name and version -- : Edge -- Error-message(debug-mod must be tuned on) -- : call to a member funktion addstylesheet() on null  Hello  I configured the new plugin PayPal (in sandbox mode for now).  For payment by card, no problem. But for settlement by PayPal account, I have a blank popup opening (saying &quot;about:blank#blocked&quot;). If I close this popup, then I have the expected window to PayPal.  Do you have any idea where this blank pop-up of content comes from?  Thanks in advance for your help.  Martin")*

Hi Nicolas,

thanks for the tip with the settings of the http headers: it worked!

The error "call to a member function addstylesheet() on null" still exists. Attached are the screenshots as requested. Maybe it's because of jevents?

Many thanks
Martin

- [ ![jevrsvppro.501.jpg](/forum/attachment/57824) ](/forum/attachment/57824 "...svppro.501.jpg") [ ](/forum/attachment/57824?download=1 "...svppro.501.jpg")
- [ ![HTMLHelper&#95;777.jpg](/forum/attachment/57825) ](/forum/attachment/57825 "...Helper&#95;777.jpg") [ ](/forum/attachment/57825?download=1 "...Helper&#95;777.jpg")
- [ ![jevrdisplayattendance-344.jpg](/forum/attachment/57826) ](/forum/attachment/57826 "...ndance-344.jpg") [ ](/forum/attachment/57826?download=1 "...ndance-344.jpg")
- [ ![Debug&#95;2.jpg](/forum/attachment/57827) ](/forum/attachment/57827 "Debug&#95;2.jpg") [ ](/forum/attachment/57827?download=1 "Debug&#95;2.jpg")
- [ ![Debug&#95;1.jpg](/forum/attachment/57828) ](/forum/attachment/57828 "Debug&#95;1.jpg") [ ](/forum/attachment/57828?download=1 "Debug&#95;1.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDY5OTAtY2FsbC10by1hLW1lbWJlci1mdW5rdGlvbi1hZGRzdHlsZXNoZWV0LW9uLW51bGwtYWZ0ZXItcGF5cGFsLXBheW1lbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

3 years 2 months ago [\#355096](#355096) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["call to a member funktion addstylesheet() on null" after paypal-payment](/forum/29-payment-methods/906990-call-to-a-member-funktion-addstylesheet-on-null-after-paypal-payment#355096 "-- HikaShop version -- : 4.7.5 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.1 -- Browser(s) name and version -- : Edge -- Error-message(debug-mod must be tuned on) -- : call to a member funktion addstylesheet() on null  Hello  I configured the new plugin PayPal (in sandbox mode for now).  For payment by card, no problem. But for settlement by PayPal account, I have a blank popup opening (saying &quot;about:blank#blocked&quot;). If I close this popup, then I have the expected window to PayPal.  Do you have any idea where this blank pop-up of content comes from?  Thanks in advance for your help.  Martin")*

Hi,

The error is in JEvent RSVP Pro. You need to contact their support and report the issue with the screenshots you provided here. They should be able to tell you what to do.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDY5OTAtY2FsbC10by1hLW1lbWJlci1mdW5rdGlvbi1hZGRzdHlsZXNoZWV0LW9uLW51bGwtYWZ0ZXItcGF5cGFsLXBheW1lbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.090 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
